public abstract class KeyBasedCacheOperation extends CacheOperation
| Modifier and Type | Field and Description |
|---|---|
protected CacheRecord |
backupRecord |
protected Data |
key |
protected Object |
response |
cacheService, dontCreateCacheRecordStoreIfNotExist, recordStore, tenantContext, wanEventPublishernameGENERIC_PARTITION_ID| Modifier | Constructor and Description |
|---|---|
protected |
KeyBasedCacheOperation() |
protected |
KeyBasedCacheOperation(String name,
Data key) |
protected |
KeyBasedCacheOperation(String name,
Data key,
boolean dontCreateCacheRecordStoreIfNotExist) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getResponse()
Called if and only if
Operation.returnsResponse() returned true,
shortly after Operation.run() returns. |
protected void |
readInternal(ObjectDataInput in) |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, beforeRun, beforeRunInternal, dispose, getAsyncBackupCount, getFactoryId, getServiceName, getServiceNamespace, getSyncBackupCount, logError, onInvocationException, publishWanRemove, publishWanUpdate, publishWanUpdate, publishWanUpdategetName, toStringcall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getWaitTimeout, isUrgent, onExecutionFailure, onSetCallId, readData, requiresExplicitServiceName, returnsResponse, run, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPartitionIdgetIdreadData, writeDataprotected Data key
protected Object response
protected transient CacheRecord backupRecord
public final Object getResponse()
OperationOperation.returnsResponse() returned true,
shortly after Operation.run() returns.getResponse in class Operationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractNamedOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractNamedOperationIOExceptionCopyright © 2019 Hazelcast, Inc.. All Rights Reserved.