Class GlobalInboundInvocationHandler
- java.lang.Object
-
- org.infinispan.remoting.inboundhandler.GlobalInboundInvocationHandler
-
- All Implemented Interfaces:
InboundInvocationHandler
public class GlobalInboundInvocationHandler extends Object implements InboundInvocationHandler
InboundInvocationHandler
implementation that handles all theReplicableCommand
. This component handles theReplicableCommand
from local and remote site. The remote siteReplicableCommand
are sent to theBackupReceiver
to be handled. Also, the non-CacheRpcCommand
are processed directly and theCacheRpcCommand
are processed in the cache'sPerCacheInboundInvocationHandler
implementation.- 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 void
handleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommand
from other node belonging to local site.void
handleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
Handles theReplicableCommand
from remote site.
-
-
-
Method Detail
-
handleFromCluster
public void handleFromCluster(Address origin, org.infinispan.commands.ReplicableCommand command, Reply reply, DeliverOrder order)
Description copied from interface:InboundInvocationHandler
Handles theReplicableCommand
from other node belonging to local site.- Specified by:
handleFromCluster
in interfaceInboundInvocationHandler
- Parameters:
origin
- the senderAddress
command
- theReplicableCommand
to handlerreply
- the return value is passed to this object in order to be sent back to the originorder
- theDeliverOrder
in which the command was sent
-
handleFromRemoteSite
public void handleFromRemoteSite(String origin, XSiteReplicateCommand command, Reply reply, DeliverOrder order)
Description copied from interface:InboundInvocationHandler
Handles theReplicableCommand
from remote site.- Specified by:
handleFromRemoteSite
in interfaceInboundInvocationHandler
- Parameters:
origin
- the sender sitecommand
- theReplicableCommand
to handlereply
- the return value is passed to this object in order to be sent back to the originorder
- theDeliverOrder
in which the command was sent
-
-