GigaSpaces XAP 9.7.2 API

com.gigaspaces.sync
Enum DataSyncOperationType

java.lang.Object
  extended by java.lang.Enum<DataSyncOperationType>
      extended by com.gigaspaces.sync.DataSyncOperationType
All Implemented Interfaces:
Serializable, Comparable<DataSyncOperationType>

public enum DataSyncOperationType
extends Enum<DataSyncOperationType>

Represents the data operation type. See DataSyncOperation.

Since:
9.0.1
Author:
eitany

Enum Constant Summary
CHANGE
          Change operation.
PARTIAL_UPDATE
          Partial update operation.
REMOVE
          Remove operation.
REMOVE_BY_UID
          Remove by UID operation.
UPDATE
          Update operation.
WRITE
          Write operation.
 
Method Summary
static DataSyncOperationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DataSyncOperationType[] 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 DataSyncOperationType WRITE
Write operation.


UPDATE

public static final DataSyncOperationType UPDATE
Update operation.


PARTIAL_UPDATE

public static final DataSyncOperationType PARTIAL_UPDATE
Partial update operation.


REMOVE

public static final DataSyncOperationType REMOVE
Remove operation.


REMOVE_BY_UID

public static final DataSyncOperationType REMOVE_BY_UID
Remove by UID operation.


CHANGE

public static final DataSyncOperationType CHANGE
Change operation. In order to extract the DataSyncChangeSet content from the DataSyncOperation use the ChangeDataSyncOperation#getChangeSet(DataSyncOperation) method.

DataSyncChangeSet dataSyncChangeSet = ChangeDataSyncOperation.getChangeSet(dataSyncOperation);

Since:
9.5
Method Detail

values

public static DataSyncOperationType[] 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 (DataSyncOperationType c : DataSyncOperationType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static DataSyncOperationType 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

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.