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, stoppublic NonTxPerCacheInboundInvocationHandler()
public void start()
start in class BasePerCacheInboundInvocationHandlerpublic void handle(CacheRpcCommand command, Reply reply, DeliverOrder order)
PerCacheInboundInvocationHandlerCacheRpcCommand from other node.handle in interface PerCacheInboundInvocationHandlercommand - 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)
LockListeneronEvent in interface LockListenerstate - the lock state. Possible values are LockState.ACQUIRED, LockState.TIMED_OUT or
LockState.DEADLOCKED.protected Log getLog()
getLog in class BasePerCacheInboundInvocationHandlerprotected boolean isTraceEnabled()
isTraceEnabled in class BasePerCacheInboundInvocationHandlerCopyright © 2022 JBoss by Red Hat. All rights reserved.