public class ChangeClusterStateOperation extends AbstractOperation implements AllowedDuringPassiveState
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
Constructor and Description |
---|
ChangeClusterStateOperation() |
ChangeClusterStateOperation(ClusterState newState,
Address initiator,
String txnId) |
Modifier and Type | Method and Description |
---|---|
void |
beforeRun() |
Object |
getResponse() |
String |
getServiceName() |
void |
logError(Throwable e)
Logs Exception/Error thrown during operation execution.
|
protected void |
readInternal(ObjectDataInput in) |
void |
run() |
protected void |
writeInternal(ObjectDataOutput out) |
afterRun, returnsResponse
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getOperationResponseHandler, getPartitionId, getReplicaIndex, getResponseHandler, getService, getWaitTimeout, isUrgent, onException, onExecutionFailure, onInvocationException, onSetCallId, readData, sendResponse, setCallerUuid, setNodeEngine, setOperationResponseHandler, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, toString, validatesTarget, writeData
public ChangeClusterStateOperation()
public ChangeClusterStateOperation(ClusterState newState, Address initiator, String txnId)
public void beforeRun() throws Exception
beforeRun
in class AbstractOperation
Exception
public void logError(Throwable e)
Operation
public Object getResponse()
getResponse
in class AbstractOperation
public String getServiceName()
getServiceName
in class Operation
protected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal
in class AbstractOperation
IOException
protected void readInternal(ObjectDataInput in) throws IOException
readInternal
in class AbstractOperation
IOException
Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.