com.j_spaces.core.cluster
Enum ReplicationOperationType
java.lang.Object
java.lang.Enum<ReplicationOperationType>
com.j_spaces.core.cluster.ReplicationOperationType
- All Implemented Interfaces:
- Serializable, Comparable<ReplicationOperationType>
public enum ReplicationOperationType
- extends Enum<ReplicationOperationType>
Represents all the possible operation types
that can be replicated.
- Since:
- 6.02
- Version:
- 1.0
- Author:
- asy ronen
WRITE
public static final ReplicationOperationType WRITE
TAKE
public static final ReplicationOperationType TAKE
EXTEND_LEASE
public static final ReplicationOperationType EXTEND_LEASE
UPDATE
public static final ReplicationOperationType UPDATE
DISCARD
public static final ReplicationOperationType DISCARD
LEASE_EXPIRATION
public static final ReplicationOperationType LEASE_EXPIRATION
NOTIFY
public static final ReplicationOperationType NOTIFY
TRANSACTION
public static final ReplicationOperationType TRANSACTION
EVICT
public static final ReplicationOperationType EVICT
FULL_PERMISSIONS
public static final Set<ReplicationOperationType> FULL_PERMISSIONS
values
public static ReplicationOperationType[] 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 (ReplicationOperationType c : ReplicationOperationType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ReplicationOperationType 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
getOpCode
public byte getOpCode()
isTemplate
public boolean isTemplate()
fromByte
public static ReplicationOperationType fromByte(byte opCode)
Copyright © GigaSpaces.