Class DefaultTopologyRunnable
java.lang.Object
org.infinispan.remoting.inboundhandler.BaseBlockingRunnable
org.infinispan.remoting.inboundhandler.DefaultTopologyRunnable
- All Implemented Interfaces:
Runnable,BlockingRunnable
The default
Runnable for the remote commands receives.
It checks the command topology and ensures that the topology higher or equal is installed in this node.- Since:
- 8.0
- Author:
- Pedro Ruivo
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefaultTopologyRunnable(BasePerCacheInboundInvocationHandler handler, CacheRpcCommand command, Reply reply, TopologyMode topologyMode, int commandTopologyId, boolean sync) -
Method Summary
Modifier and TypeMethodDescriptionprotected CompletionStage<CacheNotFoundResponse> booleanisReady()toString()Methods inherited from class org.infinispan.remoting.inboundhandler.BaseBlockingRunnable
afterInvoke, onException, onFinally, run
-
Field Details
-
commandTopologyId
protected final int commandTopologyId
-
-
Constructor Details
-
DefaultTopologyRunnable
public DefaultTopologyRunnable(BasePerCacheInboundInvocationHandler handler, CacheRpcCommand command, Reply reply, TopologyMode topologyMode, int commandTopologyId, boolean sync)
-
-
Method Details
-
isReady
public boolean isReady()- Returns:
- true if this Runnable is ready to be executed without blocking
-
beforeInvoke
- Overrides:
beforeInvokein classBaseBlockingRunnable
-
toString
- Overrides:
toStringin classBaseBlockingRunnable
-