public static enum TransactionOptions.TransactionType extends Enum<TransactionOptions.TransactionType>
| Enum Constant and Description | 
|---|
| LOCALDeprecated. 
 since 3.6 use ONE_PHASE | 
| ONE_PHASEThe one phase transaction executes a transaction using a single step at the end; committing the changes. | 
| TWO_PHASEThe two phase commit is separated in 2 parts. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TransactionOptions.TransactionType | getByValue(int value) | 
| int | id() | 
| static TransactionOptions.TransactionType | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static TransactionOptions.TransactionType[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TransactionOptions.TransactionType TWO_PHASE
TransactionOptions.setDurability(int)@Deprecated public static final TransactionOptions.TransactionType LOCAL
public static final TransactionOptions.TransactionType ONE_PHASE
public static TransactionOptions.TransactionType[] values()
for (TransactionOptions.TransactionType c : TransactionOptions.TransactionType.values()) System.out.println(c);
public static TransactionOptions.TransactionType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int id()
public static TransactionOptions.TransactionType getByValue(int value)
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.