public class CacheSetExpiryPolicyOperation
extends com.hazelcast.cache.impl.operation.CacheOperation
implements com.hazelcast.spi.impl.MutatingOperation
| 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 |
|---|
CacheSetExpiryPolicyOperation() |
CacheSetExpiryPolicyOperation(String name,
List<com.hazelcast.nio.serialization.Data> keys,
com.hazelcast.nio.serialization.Data expiryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterRun() |
protected void |
beforeRunInternal() |
protected void |
dispose() |
protected void |
disposeInternal(EnterpriseSerializationService serializationService) |
com.hazelcast.spi.Operation |
getBackupOperation() |
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) |
boolean |
shouldBackup() |
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, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprotected Object response
protected int completionId
protected transient boolean runCompleted
protected transient com.hazelcast.memory.NativeOutOfMemoryError oome
protected transient EnterpriseSerializationService serializationService
protected void runInternal()
protected void disposeInternal(EnterpriseSerializationService serializationService)
public int getFactoryId()
getFactoryId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
IOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
IOExceptionpublic com.hazelcast.spi.Operation getBackupOperation()
getBackupOperation in interface com.hazelcast.spi.BackupAwareOperationpublic boolean shouldBackup()
shouldBackup in interface com.hazelcast.spi.BackupAwareOperationpublic 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 onExecutionFailure(Throwable e)
onExecutionFailure in class com.hazelcast.spi.Operationprotected final void dispose()
dispose in class com.hazelcast.cache.impl.operation.CacheOperationpublic final void logError(Throwable e)
logError in class com.hazelcast.cache.impl.operation.CacheOperationpublic 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.