Class GlobalInboundInvocationHandler
- java.lang.Object
-
- org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler
-
- All Implemented Interfaces:
InboundInvocationHandler
public class GlobalInboundInvocationHandler extends Object implements InboundInvocationHandler
InboundInvocationHandlerimplementation that handles all theReplicableCommand. This component handles theReplicableCommandfrom local and remote site. The remote siteReplicableCommandare sent to theBackupReceiverto be handled. Also, the non-CacheRpcCommandare processed directly and theCacheRpcCommandare processed in the cache'sPerCacheInboundInvocationHandlerimplementation.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description GlobalInboundInvocationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)Handles theReplicableCommandfrom other node belonging to local site.voidhandleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)Handles theReplicableCommandfrom remote site.
-
-
-
Method Detail
-
handleFromCluster
public void handleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)
Description copied from interface:InboundInvocationHandlerHandles theReplicableCommandfrom other node belonging to local site.- Specified by:
handleFromClusterin interfaceInboundInvocationHandler- Parameters:
origin- the senderAddresscommand- theReplicableCommandto handlerreply- the return value is passed to this object in order to be sent back to the originorder- theDeliverOrderin which the command was sent
-
handleFromRemoteSite
public void handleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
Description copied from interface:InboundInvocationHandlerHandles theReplicableCommandfrom remote site.- Specified by:
handleFromRemoteSitein interfaceInboundInvocationHandler- Parameters:
origin- the sender sitecommand- theReplicableCommandto handlereply- the return value is passed to this object in order to be sent back to the originorder- theDeliverOrderin which the command was sent
-
-