public abstract class CollectionOperation extends Operation implements PartitionAwareOperation, IdentifiedDataSerializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
name |
protected Object |
response |
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionOperation() |
protected |
CollectionOperation(String name) |
| Modifier and Type | Method and Description |
|---|---|
int |
getFactoryId()
Returns DataSerializableFactory factory id for this class.
|
protected CollectionContainer |
getOrCreateContainer() |
protected ListContainer |
getOrCreateListContainer() |
Object |
getResponse() |
boolean |
hasEnoughCapacity(int delta) |
protected void |
publishEvent(ItemEventType eventType,
Data data) |
protected void |
readInternal(ObjectDataInput in) |
boolean |
returnsResponse() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetIdreadData, writeDataprotected CollectionOperation()
protected CollectionOperation(String name)
protected final ListContainer getOrCreateListContainer()
protected final CollectionContainer getOrCreateContainer()
protected void publishEvent(ItemEventType eventType, Data data)
public boolean hasEnoughCapacity(int delta)
public int getFactoryId()
IdentifiedDataSerializablegetFactoryId in interface IdentifiedDataSerializablepublic boolean returnsResponse()
returnsResponse in interface RemotePropagatable<Operation>returnsResponse in class Operationpublic Object getResponse()
getResponse in class Operationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class OperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class OperationIOExceptionCopyright © 2015 Hazelcast, Inc.. All Rights Reserved.