public class EWRPutOperation extends EWRBackupAwareOperation implements com.hazelcast.nio.serialization.IdentifiedDataSerializable, com.hazelcast.spi.ServiceNamespaceAware
WanReplicationEvent. This operation is used
to put forwarded WAN events to the corresponding event queue.response| Constructor and Description |
|---|
EWRPutOperation() |
EWRPutOperation(String wanReplicationName,
String targetName,
com.hazelcast.wan.WanReplicationEvent event,
int backupCount) |
| Modifier and Type | Method and Description |
|---|---|
com.hazelcast.spi.Operation |
getBackupOperation() |
int |
getId() |
com.hazelcast.spi.ServiceNamespace |
getServiceNamespace() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
void |
run() |
boolean |
shouldBackup() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
getAsyncBackupCount, getSyncBackupCountafterRun, beforeRun, getFactoryId, getResponse, returnsResponsecall, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getService, getServiceName, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetFactoryIdpublic void run()
throws Exception
run in class com.hazelcast.spi.OperationExceptionpublic 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
writeInternal in class EWRBackupAwareOperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class EWRBackupAwareOperationIOExceptionpublic int getId()
getId in interface com.hazelcast.nio.serialization.IdentifiedDataSerializablepublic com.hazelcast.spi.ServiceNamespace getServiceNamespace()
getServiceNamespace in interface com.hazelcast.spi.ServiceNamespaceAwareCopyright © 2021 Hazelcast, Inc.. All Rights Reserved.