com.gigaspaces.sync.change
Class AddAllToCollectionOperation
java.lang.Object
com.gigaspaces.sync.change.AddAllToCollectionOperation
public class AddAllToCollectionOperation
- extends Object
Represents a change operation which correlate with a ChangeSet.addAllToCollection(String, java.io.Serializable...)
invocation.
- Since:
- 9.5
- Author:
- eitany
Field Summary |
static String |
NAME
The name of the operation. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
public static final String NAME
- The name of the operation.
- See Also:
- Constant Field Values
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.
getItems
public static Collection<? extends Serializable> getItems(ChangeOperation changeOperation)
- Returns:
- the path the operation changed.
isChanged
public static boolean isChanged(com.gigaspaces.client.ChangeOperationResult changeOperationResult)
- Returns:
- the return value of the
Collection.addAll(Collection)
operation that was applied. - Since:
- 9.7
getNewSize
public static int getNewSize(com.gigaspaces.client.ChangeOperationResult changeOperationResult)
- Returns:
- the size of the collection after the
Collection.addAll(Collection)
operation that was applied. - Since:
- 9.7
Copyright © GigaSpaces.