Enum UnsolicitedCommitEvent.Type
- java.lang.Object
-
- java.lang.Enum<UnsolicitedCommitEvent.Type>
-
- com.tangosol.net.events.partition.UnsolicitedCommitEvent.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<UnsolicitedCommitEvent.Type>
- Enclosing interface:
- UnsolicitedCommitEvent
public static enum UnsolicitedCommitEvent.Type extends Enum<UnsolicitedCommitEvent.Type>
The UnsolicitedCommitEvent types.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMMITTED
A COMMITTED event is the only event raised by theUnsolicitedCommitEvent
as the mutation has already occurred to the underlying backing map(s).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UnsolicitedCommitEvent.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static UnsolicitedCommitEvent.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMITTED
public static final UnsolicitedCommitEvent.Type COMMITTED
A COMMITTED event is the only event raised by theUnsolicitedCommitEvent
as the mutation has already occurred to the underlying backing map(s). This event will contain all modified entries which may span multiple backing maps. The BinaryEntry instances passed for this event type are immutable.
-
-
Method Detail
-
values
public static UnsolicitedCommitEvent.Type[] 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 (UnsolicitedCommitEvent.Type c : UnsolicitedCommitEvent.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UnsolicitedCommitEvent.Type 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 nameNullPointerException
- if the argument is null
-
-