Class NonTxPerCacheInboundInvocationHandler
- java.lang.Object
-
- org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler
-
- org.infinispan.remoting.inboundhandler.NonTxPerCacheInboundInvocationHandler
-
- All Implemented Interfaces:
JmxStatisticsExposer,PerCacheInboundInvocationHandler,LockListener
public class NonTxPerCacheInboundInvocationHandler extends BasePerCacheInboundInvocationHandler implements LockListener
APerCacheInboundInvocationHandlerimplementation for non-total order caches.- Since:
- 7.1
- Author:
- Pedro Ruivo
-
-
Field Summary
-
Fields inherited from class org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler
blockingExecutor, configuration, MBEAN_COMPONENT_NAME, nonBlockingExecutor
-
-
Constructor Summary
Constructors Constructor Description NonTxPerCacheInboundInvocationHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LoggetLog()voidhandle(CacheRpcCommand command, Reply reply, DeliverOrder order)Handles theCacheRpcCommandfrom other node.protected booleanisTraceEnabled()voidonEvent(LockState state)Invoked when the lock is available.voidstart()-
Methods inherited from class org.infinispan.remoting.inboundhandler.BasePerCacheInboundInvocationHandler
checkForReadyTasks, getFirstTopologyAsMember, getStatisticsEnabled, getXSiteRequestsReceived, isCommandSentBeforeFirstTopology, isStatisticsEnabled, isStopped, registerXSiteCommandReceiver, resetStatistics, setFirstTopologyAsMember, setStatisticsEnabled, stop
-
-
-
-
Method Detail
-
start
public void start()
- Overrides:
startin classBasePerCacheInboundInvocationHandler
-
handle
public void handle(CacheRpcCommand command, Reply reply, DeliverOrder order)
Description copied from interface:PerCacheInboundInvocationHandlerHandles theCacheRpcCommandfrom other node.- Specified by:
handlein interfacePerCacheInboundInvocationHandler- 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
-
onEvent
public void onEvent(LockState state)
Description copied from interface:LockListenerInvoked when the lock is available.- Specified by:
onEventin interfaceLockListener- Parameters:
state- the lock state. Possible values areLockState.ACQUIRED,LockState.TIMED_OUTorLockState.DEADLOCKED.
-
getLog
protected Log getLog()
- Specified by:
getLogin classBasePerCacheInboundInvocationHandler
-
isTraceEnabled
protected boolean isTraceEnabled()
- Specified by:
isTraceEnabledin classBasePerCacheInboundInvocationHandler
-
-