Class BaseBlockingRunnable
- java.lang.Object
-
- org.infinispan.remoting.inboundhandler.BaseBlockingRunnable
-
- All Implemented Interfaces:
Runnable,BlockingRunnable
- Direct Known Subclasses:
DefaultTopologyRunnable
public abstract class BaseBlockingRunnable extends Object implements BlockingRunnable
Common logic to handleCacheRpcCommand.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseBlockingRunnable(BasePerCacheInboundInvocationHandler handler, org.infinispan.commands.remote.CacheRpcCommand command, Reply reply, boolean sync)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidafterInvoke()protected CompletableFuture<Response>beforeInvoke()protected voidonException(Throwable throwable)protected voidonFinally()voidrun()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.infinispan.util.concurrent.BlockingRunnable
isReady
-
-
-
-
Field Detail
-
handler
protected final BasePerCacheInboundInvocationHandler handler
-
command
protected final org.infinispan.commands.remote.CacheRpcCommand command
-
reply
protected final Reply reply
-
sync
protected final boolean sync
-
response
protected Response response
-
-
Constructor Detail
-
BaseBlockingRunnable
protected BaseBlockingRunnable(BasePerCacheInboundInvocationHandler handler, org.infinispan.commands.remote.CacheRpcCommand command, Reply reply, boolean sync)
-
-
Method Detail
-
onFinally
protected void onFinally()
-
onException
protected void onException(Throwable throwable)
-
afterInvoke
protected void afterInvoke()
-
beforeInvoke
protected CompletableFuture<Response> beforeInvoke()
-
-