Package com.gigaspaces.sync.change
Class IncrementOperation
java.lang.Object
com.gigaspaces.sync.change.IncrementOperation
Represents a change operation which correlate with a
ChangeSet.increment(String, int) or
ChangeSet.decrement(String, int) invocation.- Since:
- 9.5
- Author:
- eitany
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic NumbergetDelta(ChangeOperation changeOperation) static NumbergetNewValue(ChangeOperationResult changeOperationResult) static StringgetPath(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.
-
getDelta
- Returns:
- the delta that was incremented (negative for decrement operation).
-
getNewValue
- Returns:
- the new value of the property after the increment operation was applied
- Since:
- 9.7
-