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, returnsResponsegetCallerAddress, 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, writeDatapublic ChangeClusterStateOperation()
public ChangeClusterStateOperation(ClusterState newState, Address initiator, String txnId)
public void beforeRun()
throws Exception
beforeRun in class AbstractOperationExceptionpublic void logError(Throwable e)
Operationpublic Object getResponse()
getResponse in class AbstractOperationpublic String getServiceName()
getServiceName in class Operationprotected void writeInternal(ObjectDataOutput out) throws IOException
writeInternal in class AbstractOperationIOExceptionprotected void readInternal(ObjectDataInput in) throws IOException
readInternal in class AbstractOperationIOExceptionCopyright © 2016 Hazelcast, Inc.. All Rights Reserved.