Interface PerCacheInboundInvocationHandler
-
- All Superinterfaces:
JmxStatisticsExposer
- All Known Implementing Classes:
AbstractDelegatingHandler,BasePerCacheInboundInvocationHandler,NonTotalOrderPerCacheInboundInvocationHandler,NonTotalOrderTxPerCacheInboundInvocationHandler,TotalOrderTxPerCacheInboundInvocationHandler,TrianglePerCacheInboundInvocationHandler
public interface PerCacheInboundInvocationHandler extends JmxStatisticsExposer
Interface to invoke when aCacheRpcCommandis 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 intgetFirstTopologyAsMember()voidhandle(org.infinispan.commands.remote.CacheRpcCommand command, Reply reply, DeliverOrder order)Handles theCacheRpcCommandfrom other node.default voidregisterXSiteActionSequencer(ActionSequencer sequencer)Registers theActionSequencerused by async cross-site requests to expose some internals metrics.voidregisterXSiteCommandReceiver(boolean sync)voidsetFirstTopologyAsMember(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 theCacheRpcCommandfrom other node.- Parameters:
command- theCacheRpcCommandto handle-reply- the return value is passed to this object in order to be sent back to the senderorder- theDeliverOrderin 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 theActionSequencerused by async cross-site requests to expose some internals metrics.
-
-