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, 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)

Constructor Summary
SafeStateCheckOperation()
           
 
Method Summary
 Object getResponse()
           
 boolean returnsResponse()
           
 void run()
           
 
Methods inherited from class com.hazelcast.spi.AbstractOperation
afterRun, beforeRun, readInternal, writeInternal
 
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
 
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

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.