Package com.gigaspaces.sync.change
Class PutInMapOperation
java.lang.Object
com.gigaspaces.sync.change.PutInMapOperation
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
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SerializablegetKey(ChangeOperation changeOperation) static intgetNewSize(ChangeOperationResult changeOperationResult) static StringgetPath(ChangeOperation changeOperation) static SerializablegetPreviousValue(ChangeOperationResult changeOperationResult) static SerializablegetValue(ChangeOperation changeOperation) static booleanrepresents(ChangeOperation changeOperation)
-
Field Details
-
NAME
The name of the operation.- See Also:
-
-
Method Details
-
represents
- Returns:
- true if this operation type represents the given change operation.
-
getPath
- Returns:
- the path the operation changed.
-
getKey
- Returns:
- the key that was put.
-
getValue
- Returns:
- the value that was put with for the given key.
-
getPreviousValue
- Returns:
- the return value of the
Map.put(Object, Object)operation that was applied. - Since:
- 9.7
-
getNewSize
- Returns:
- the size of the map after the
Map.put(Object, Object)operation that was applied. - Since:
- 9.7
-