GigaSpaces XAP 9.7.2 API

com.gigaspaces.sync.change
Class PutInMapOperation

java.lang.Object
  extended by com.gigaspaces.sync.change.PutInMapOperation

public class PutInMapOperation
extends Object

Represents a change operation which correlate with a ChangeSet.putInMap(String, java.io.Serializable, java.io.Serializable) invocation.

Since:
9.5
Author:
eitany

Field Summary
static String NAME
          The name of the operation.
 
Method Summary
static Serializable getKey(ChangeOperation changeOperation)
           
static int getNewSize(com.gigaspaces.client.ChangeOperationResult changeOperationResult)
           
static String getPath(ChangeOperation changeOperation)
           
static Serializable getPreviousValue(com.gigaspaces.client.ChangeOperationResult changeOperationResult)
           
static Serializable getValue(ChangeOperation changeOperation)
           
static boolean represents(ChangeOperation changeOperation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NAME

public static final String NAME
The name of the operation.

See Also:
Constant Field Values
Method Detail

represents

public static boolean represents(ChangeOperation changeOperation)
Returns:
true if this operation type represents the given change operation.

getPath

public static String getPath(ChangeOperation changeOperation)
Returns:
the path the operation changed.

getKey

public static Serializable getKey(ChangeOperation changeOperation)
Returns:
the key that was put.

getValue

public static Serializable getValue(ChangeOperation changeOperation)
Returns:
the value that was put with for the given key.

getPreviousValue

public static Serializable getPreviousValue(com.gigaspaces.client.ChangeOperationResult changeOperationResult)
Returns:
the return value of the Map.put(Object, Object) operation that was applied.
Since:
9.7

getNewSize

public static int getNewSize(com.gigaspaces.client.ChangeOperationResult changeOperationResult)
Returns:
the size of the map after the Map.put(Object, Object) operation that was applied.
Since:
9.7

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.