public class WanCacheRemoveOperation
extends com.hazelcast.cache.impl.operation.CacheOperation
implements com.hazelcast.cache.impl.operation.MutableOperation
| Modifier and Type | Field and Description |
|---|---|
protected int |
completionId |
protected com.hazelcast.nio.serialization.Data |
key |
protected com.hazelcast.memory.NativeOutOfMemoryError |
oome |
protected Object |
response |
protected boolean |
runCompleted |
protected EnterpriseSerializationService |
serializationService |
| Constructor and Description |
|---|
WanCacheRemoveOperation() |
WanCacheRemoveOperation(String name,
String wanGroupName,
com.hazelcast.nio.serialization.Data key,
int completionId) |
| 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() |
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, waitgetCompletionId, setCompletionIdprotected com.hazelcast.nio.serialization.Data key
protected Object response
protected int completionId
protected transient boolean runCompleted
protected transient com.hazelcast.memory.NativeOutOfMemoryError oome
protected transient EnterpriseSerializationService serializationService
public void runInternal()
public boolean shouldBackup()
shouldBackup in interface com.hazelcast.spi.BackupAwareOperationpublic com.hazelcast.spi.Operation getBackupOperation()
getBackupOperation in interface com.hazelcast.spi.BackupAwareOperationprotected void writeInternal(com.hazelcast.nio.ObjectDataOutput out)
throws IOException
IOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
IOExceptionpublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializableprotected void disposeInternal(EnterpriseSerializationService serializationService)
public 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 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 © 2020 Hazelcast, Inc.. All Rights Reserved.