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, writeData
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPartitionId
getId
readData, writeData
protected 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()
IdentifiedDataSerializable
getFactoryId
in interface IdentifiedDataSerializable
public boolean returnsResponse()
returnsResponse
in interface RemotePropagatable<Operation>
returnsResponse
in class Operation
public Object getResponse()
getResponse
in class Operation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class Operation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class Operation
IOException
Copyright © 2014 Hazelcast, Inc.. All Rights Reserved.