public class DeadlockDetectingInterceptor extends CommandInterceptor
DldGlobalTransaction with
 appropriate information needed in order to accomplish deadlock detection. It MUST process populate data before the
 replication takes place, so it will do all the tasks before calling CommandInterceptor.invokeNextInterceptor(org.infinispan.context.InvocationContext,
 org.infinispan.commands.VisitableCommand).
 
 Note: for local caches, deadlock detection dos NOT work for aggregate operations (clear, putAll).configuration| Constructor and Description | 
|---|
| DeadlockDetectingInterceptor() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected Log | getLog() | 
| void | start()Only does a sanity check. | 
| Object | visitLockControlCommand(TxInvocationContext ctx,
                       LockControlCommand command) | 
| Object | visitPrepareCommand(TxInvocationContext ctx,
                   PrepareCommand command) | 
| Object | visitPutKeyValueCommand(InvocationContext ctx,
                       PutKeyValueCommand command) | 
| Object | visitRemoveCommand(InvocationContext ctx,
                  RemoveCommand command) | 
| Object | visitReplaceCommand(InvocationContext ctx,
                   ReplaceCommand command) | 
getNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitPutMapCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandprotected Log getLog()
getLog in class CommandInterceptorpublic void start()
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorThrowablepublic Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand in interface VisitorvisitRemoveCommand in class AbstractVisitorThrowablepublic Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand in interface VisitorvisitReplaceCommand in class AbstractVisitorThrowablepublic Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command) throws Throwable
visitLockControlCommand in interface VisitorvisitLockControlCommand in class AbstractVisitorThrowablepublic Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand in interface VisitorvisitPrepareCommand in class AbstractVisitorThrowableCopyright © 2012 JBoss by Red Hat. All Rights Reserved.