public class CacheSizeOperation
extends com.hazelcast.cache.impl.operation.CacheOperation
implements com.hazelcast.spi.ReadonlyOperation
| Modifier and Type | Field and Description |
|---|---|
protected int |
completionId |
protected com.hazelcast.memory.NativeOutOfMemoryError |
oome |
protected Object |
response |
protected boolean |
runCompleted |
protected EnterpriseSerializationService |
serializationService |
| Constructor and Description |
|---|
CacheSizeOperation() |
CacheSizeOperation(String name) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
protected void |
beforeRunInternal() |
protected void |
dispose() |
protected void |
disposeInternal(EnterpriseSerializationService serializationService) |
int |
getCompletionId() |
int |
getFactoryId() |
int |
getId() |
Object |
getResponse() |
void |
logError(Throwable e) |
void |
onExecutionFailure(Throwable e) |
static com.hazelcast.nio.serialization.Data |
readHeapOperationData(com.hazelcast.nio.ObjectDataInput in) |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
static com.hazelcast.nio.serialization.Data |
readNativeMemoryOperationData(com.hazelcast.nio.ObjectDataInput in) |
void |
run() |
protected void |
runInternal() |
void |
setCompletionId(int completionId) |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
beforeRun, getAsyncBackupCount, getServiceName, getServiceNamespace, getSyncBackupCount, onInvocationException, publishWanRemove, publishWanUpdate, publishWanUpdate, publishWanUpdatecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataprotected Object response
protected int completionId
protected transient boolean runCompleted
protected transient com.hazelcast.memory.NativeOutOfMemoryError oome
protected transient EnterpriseSerializationService serializationService
public CacheSizeOperation()
public CacheSizeOperation(String name)
protected void runInternal()
public int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablegetFactoryId in class com.hazelcast.cache.impl.operation.CacheOperationpublic final Object getResponse()
getResponse in class com.hazelcast.spi.Operationprotected void beforeRunInternal()
beforeRunInternal in class com.hazelcast.cache.impl.operation.CacheOperationpublic final void run()
throws Exception
run in class com.hazelcast.spi.OperationExceptionpublic void afterRun()
throws Exception
afterRun in class com.hazelcast.cache.impl.operation.CacheOperationExceptionpublic void onExecutionFailure(Throwable e)
onExecutionFailure in class com.hazelcast.spi.Operationprotected final void dispose()
dispose in class com.hazelcast.cache.impl.operation.CacheOperationprotected void disposeInternal(EnterpriseSerializationService serializationService)
public final void logError(Throwable e)
logError in class com.hazelcast.cache.impl.operation.CacheOperationprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
writeInternal in class com.hazelcast.spi.impl.AbstractNamedOperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class com.hazelcast.spi.impl.AbstractNamedOperationIOExceptionpublic final int getCompletionId()
public final void setCompletionId(int completionId)
public static com.hazelcast.nio.serialization.Data readHeapOperationData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
IOExceptionpublic static com.hazelcast.nio.serialization.Data readNativeMemoryOperationData(com.hazelcast.nio.ObjectDataInput in)
throws IOException
IOExceptionCopyright © 2022 Hazelcast, Inc.. All Rights Reserved.