org.terracotta.toolkit.atomic
Enum ToolkitTransactionType
java.lang.Object
java.lang.Enum<ToolkitTransactionType>
org.terracotta.toolkit.atomic.ToolkitTransactionType
- All Implemented Interfaces:
- Serializable, Comparable<ToolkitTransactionType>
public enum ToolkitTransactionType
- extends Enum<ToolkitTransactionType>
|
Enum Constant Summary |
NORMAL
all changes done in a NORMAL Transaction are published atomically to the Terracotta Server Array. |
SYNC
synchronously flushes enclosed changes to the Terracotta Server Array, blocking the unlocking thread until changes
have been acknowledged as received on Server. |
NORMAL
public static final ToolkitTransactionType NORMAL
- all changes done in a NORMAL Transaction are published atomically to the Terracotta Server Array.
SYNC
public static final ToolkitTransactionType SYNC
- synchronously flushes enclosed changes to the Terracotta Server Array, blocking the unlocking thread until changes
have been acknowledged as received on Server.
values
public static ToolkitTransactionType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ToolkitTransactionType c : ToolkitTransactionType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ToolkitTransactionType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2013 Terracotta, Inc.. All Rights Reserved.