public class WanOperation
extends com.hazelcast.spi.Operation
implements com.hazelcast.internal.cluster.impl.operations.WanReplicationOperation, com.hazelcast.nio.serialization.IdentifiedDataSerializable, com.hazelcast.spi.impl.AllowedDuringPassiveState
The operation implements AllowedDuringPassiveState since its'
effects take place on a different cluster which may be
ClusterState.ACTIVE at the time when
it's invoked.
| Constructor and Description |
|---|
WanOperation() |
WanOperation(com.hazelcast.nio.serialization.Data event,
com.hazelcast.config.WanAcknowledgeType acknowledgeType) |
| Modifier and Type | Method and Description |
|---|---|
com.hazelcast.config.WanAcknowledgeType |
getAcknowledgeType() |
int |
getFactoryId() |
int |
getId() |
protected void |
readInternal(com.hazelcast.nio.ObjectDataInput in) |
boolean |
returnsResponse() |
void |
run() |
protected void |
writeInternal(com.hazelcast.nio.ObjectDataOutput out) |
afterRun, beforeRun, call, executedLocally, getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponse, getService, getServiceName, getWaitTimeout, isUrgent, logError, onExecutionFailure, onInvocationException, onSetCallId, readData, requiresExplicitServiceName, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeDatapublic WanOperation()
public WanOperation(com.hazelcast.nio.serialization.Data event,
com.hazelcast.config.WanAcknowledgeType acknowledgeType)
public void run()
throws Exception
run in class com.hazelcast.spi.OperationExceptionpublic boolean returnsResponse()
returnsResponse in class com.hazelcast.spi.Operationpublic 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
writeInternal in class com.hazelcast.spi.OperationIOExceptionprotected void readInternal(com.hazelcast.nio.ObjectDataInput in)
throws IOException
readInternal in class com.hazelcast.spi.OperationIOExceptionpublic com.hazelcast.config.WanAcknowledgeType getAcknowledgeType()
Copyright © 2022 Hazelcast, Inc.. All Rights Reserved.