GigaSpaces XAP 9.0 API

com.j_spaces.core.cluster
Enum ReplicationOperationType

java.lang.Object
  extended by java.lang.Enum<ReplicationOperationType>
      extended by 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

Enum Constant Summary
DISCARD
           
EVICT
           
EXTEND_LEASE
           
LEASE_EXPIRATION
           
NOTIFY
           
TAKE
           
TRANSACTION
           
UPDATE
           
WRITE
           
 
Field Summary
static Set<ReplicationOperationType> FULL_PERMISSIONS
           
 
Method Summary
static ReplicationOperationType fromByte(byte opCode)
           
 byte getOpCode()
           
 boolean isTemplate()
           
static ReplicationOperationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ReplicationOperationType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

FULL_PERMISSIONS

public static final Set<ReplicationOperationType> FULL_PERMISSIONS
Method Detail

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)

GigaSpaces XAP 9.0 API

Copyright © GigaSpaces.