Package com.gigaspaces.sync.change
Class AddToCollectionOperation
java.lang.Object
com.gigaspaces.sync.change.AddToCollectionOperation
Represents a change operation which correlate with a
ChangeSet.addToCollection(String, java.io.Serializable) invocation.- Since:
- 9.5
- Author:
- eitany
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic SerializablegetItem(ChangeOperation changeOperation) static intgetNewSize(ChangeOperationResult changeOperationResult) static StringgetPath(ChangeOperation changeOperation) static booleanisChanged(ChangeOperationResult changeOperationResult) 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.
-
getItem
- Returns:
- the item that was added to the collection
-
isChanged
- Returns:
- the return value of the
Collection.add(Object)operation that was applied. - Since:
- 9.7
-
getNewSize
- Returns:
- the size of the collection after the
Collection.add(Object)operation that was applied. - Since:
- 9.7
-