com.hazelcast.partition.impl
Class SafeStateCheckOperation
java.lang.Object
com.hazelcast.spi.Operation
com.hazelcast.spi.AbstractOperation
com.hazelcast.partition.impl.SafeStateCheckOperation
- All Implemented Interfaces:
- DataSerializable, RemotePropagatable<Operation>
public class SafeStateCheckOperation
- extends AbstractOperation
Checks whether a node is safe or not.
Safe means, first backups of partitions those owned by local member are sync with primary.
- See Also:
PartitionService.isClusterSafe()
,
PartitionService.isMemberSafe(com.hazelcast.core.Member)
Methods inherited from class com.hazelcast.spi.Operation |
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getExecutorName, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setExecutorName, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData |
SafeStateCheckOperation
public SafeStateCheckOperation()
run
public void run()
throws Exception
- Specified by:
run
in class Operation
- Throws:
Exception
returnsResponse
public boolean returnsResponse()
- Specified by:
returnsResponse
in interface RemotePropagatable<Operation>
- Overrides:
returnsResponse
in class AbstractOperation
getResponse
public Object getResponse()
- Overrides:
getResponse
in class AbstractOperation
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.