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() |
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, getStartTime, getWaitTimeout, isUrgent, logError, onException, readData, run, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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()
getFactoryId in interface IdentifiedDataSerializablepublic boolean returnsResponse()
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 © 2021 Hazelcast, Inc.. All rights reserved.