GigaSpaces XAP 9.5 API

com.gigaspaces.sync.change
Class AddToCollectionOperation

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

public class AddToCollectionOperation
extends Object

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

Since:
9.5
Author:
eitany

Field Summary
static String NAME
          The name of the operation.
 
Method Summary
static Serializable getItem(ChangeOperation changeOperation)
           
static String getPath(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.

getItem

public static Serializable getItem(ChangeOperation changeOperation)
Returns:
the item that was added to the collection

GigaSpaces XAP 9.5 API

Copyright © GigaSpaces.