Interface PerCacheInboundInvocationHandler
-
- All Superinterfaces:
JmxStatisticsExposer
- All Known Implementing Classes:
AbstractDelegatingHandler
,BasePerCacheInboundInvocationHandler
,NonTotalOrderPerCacheInboundInvocationHandler
,NonTotalOrderTxPerCacheInboundInvocationHandler
,TotalOrderTxPerCacheInboundInvocationHandler
,TrianglePerCacheInboundInvocationHandler
public interface PerCacheInboundInvocationHandler extends JmxStatisticsExposer
Interface to invoke when aCacheRpcCommand
is received from other node in the local site.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description int
getFirstTopologyAsMember()
void
handle(org.infinispan.commands.remote.CacheRpcCommand command, Reply reply, DeliverOrder order)
Handles theCacheRpcCommand
from other node.default void
registerXSiteActionSequencer(ActionSequencer sequencer)
Registers theActionSequencer
used by async cross-site requests to expose some internals metrics.void
registerXSiteCommandReceiver(boolean sync)
void
setFirstTopologyAsMember(int firstTopologyAsMember)
-
Methods inherited from interface org.infinispan.jmx.JmxStatisticsExposer
getStatisticsEnabled, resetStatistics, setStatisticsEnabled
-
-
-
-
Method Detail
-
handle
void handle(org.infinispan.commands.remote.CacheRpcCommand command, Reply reply, DeliverOrder order)
Handles theCacheRpcCommand
from other node.- Parameters:
command
- theCacheRpcCommand
to handle-reply
- the return value is passed to this object in order to be sent back to the senderorder
- theDeliverOrder
in which the command was sent
-
setFirstTopologyAsMember
void setFirstTopologyAsMember(int firstTopologyAsMember)
- Parameters:
firstTopologyAsMember
- The first topology in which the local node was a member. Any command with a lower topology id will be ignored.
-
getFirstTopologyAsMember
int getFirstTopologyAsMember()
- Returns:
- The first topology in which the local node was a member.
Any command with a lower topology id will be ignored.
-
registerXSiteCommandReceiver
void registerXSiteCommandReceiver(boolean sync)
-
registerXSiteActionSequencer
default void registerXSiteActionSequencer(ActionSequencer sequencer)
Registers theActionSequencer
used by async cross-site requests to expose some internals metrics.
-
-