com.hazelcast.partition.impl
Class SafeStateCheckOperation

java.lang.Object
  extended by com.hazelcast.spi.Operation
      extended by com.hazelcast.spi.AbstractOperation
          extended by com.hazelcast.partition.impl.SafeStateCheckOperation
All Implemented Interfaces:
DataSerializable

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)

Field Summary
 
Fields inherited from class com.hazelcast.spi.Operation
CALL_ID_LOCAL_SKIPPED, GENERIC_PARTITION_ID
 
Constructor Summary
SafeStateCheckOperation()
           
 
Method Summary
 Object getResponse()
           
 void run()
           
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun, readInternal, returnsResponse, writeInternal
 
Methods inherited from class com.hazelcast.spi.Operation
getCallerAddress, getCallerUuid, getCallId, getCallTimeout, getConnection, getInvocationTime, getLogger, getNodeEngine, getPartitionId, getReplicaIndex, getResponseHandler, getService, getServiceName, getWaitTimeout, isUrgent, logError, onException, readData, setCallerUuid, setNodeEngine, setPartitionId, setReplicaIndex, setResponseHandler, setService, setServiceName, setValidateTarget, setWaitTimeout, toString, validatesTarget, writeData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SafeStateCheckOperation

public SafeStateCheckOperation()
Method Detail

run

public void run()
         throws Exception
Specified by:
run in class Operation
Throws:
Exception

getResponse

public Object getResponse()
Overrides:
getResponse in class AbstractOperation


Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.