Class CheckTopologyAction
- java.lang.Object
-
- org.infinispan.remoting.inboundhandler.action.CheckTopologyAction
-
- All Implemented Interfaces:
Action
public class CheckTopologyAction extends Object implements Action
AnAction
implementation that checks if the command topology id is valid. The command topology id is valid when it is higher or equal thant the first topology as member for this node.- Since:
- 8.0
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description CheckTopologyAction(BasePerCacheInboundInvocationHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionStatus
check(ActionState state)
It checks this action.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.infinispan.remoting.inboundhandler.action.Action
addListener, onException, onFinally
-
-
-
-
Constructor Detail
-
CheckTopologyAction
public CheckTopologyAction(BasePerCacheInboundInvocationHandler handler)
-
-
Method Detail
-
check
public ActionStatus check(ActionState state)
Description copied from interface:Action
It checks this action. WhenActionStatus.READY
orActionStatus.CANCELED
are final states. This method should be thread safe and idempotent since it can be invoked multiple times by multiples threads.
-
-