public class NonTxPerCacheInboundInvocationHandler extends BasePerCacheInboundInvocationHandler implements LockListener
PerCacheInboundInvocationHandler
implementation for non-total order
caches.blockingExecutor, configuration, MBEAN_COMPONENT_NAME, nonBlockingExecutor
Constructor and Description |
---|
NonTxPerCacheInboundInvocationHandler() |
Modifier and Type | Method and Description |
---|---|
protected Log |
getLog() |
void |
handle(CacheRpcCommand command,
Reply reply,
DeliverOrder order)
Handles the
CacheRpcCommand from other node. |
protected boolean |
isTraceEnabled() |
void |
onEvent(LockState state)
Invoked when the lock is available.
|
void |
start() |
checkForReadyTasks, getFirstTopologyAsMember, getStatisticsEnabled, getXSiteRequestsReceived, isCommandSentBeforeFirstTopology, isStatisticsEnabled, isStopped, registerXSiteCommandReceiver, resetStatistics, setFirstTopologyAsMember, setStatisticsEnabled, stop
public NonTxPerCacheInboundInvocationHandler()
public void start()
start
in class BasePerCacheInboundInvocationHandler
public void handle(CacheRpcCommand command, Reply reply, DeliverOrder order)
PerCacheInboundInvocationHandler
CacheRpcCommand
from other node.handle
in interface PerCacheInboundInvocationHandler
command
- the CacheRpcCommand
to handle.reply
- the return value is passed to this object in order to be sent back to the senderorder
- the DeliverOrder
in which the command was sentpublic void onEvent(LockState state)
LockListener
onEvent
in interface LockListener
state
- the lock state. Possible values are LockState.ACQUIRED
, LockState.TIMED_OUT
or
LockState.DEADLOCKED
.protected Log getLog()
getLog
in class BasePerCacheInboundInvocationHandler
protected boolean isTraceEnabled()
isTraceEnabled
in class BasePerCacheInboundInvocationHandler
Copyright © 2021 JBoss by Red Hat. All rights reserved.