org.infinispan.remoting
Class InboundInvocationHandlerImpl
java.lang.Object
org.infinispan.remoting.InboundInvocationHandlerImpl
- All Implemented Interfaces:
- InboundInvocationHandler
public class InboundInvocationHandlerImpl
- extends Object
- implements InboundInvocationHandler
Sets the cache interceptor chain on an RPCCommand before calling it to perform
- Since:
- 4.0
- Author:
- Manik Surtani
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
InboundInvocationHandlerImpl
public InboundInvocationHandlerImpl()
inject
public void inject(GlobalComponentRegistry gcr,
Transport transport,
ExecutorService remoteCommandsExecutor,
BlockingTaskAwareExecutorService totalOrderExecutorService,
GlobalConfiguration globalConfiguration,
CancellationService cancelService)
handle
public void handle(CacheRpcCommand cmd,
Address origin,
org.jgroups.blocks.Response response,
boolean preserveOrder)
throws Throwable
- Description copied from interface:
InboundInvocationHandler
- Invokes a command on the cache, from a remote source.
- Specified by:
handle
in interface InboundInvocationHandler
- Parameters:
cmd
- command to invokeresponse
- the asynchronous request reference from org.infinispan.remoting.transport.Transport
.
A null
value means that the request does not expect a return value.
- Throws:
Throwable
- in the event of problems executing the command
Copyright © 2013 JBoss, a division of Red Hat. All Rights Reserved.