public abstract class AbstractLockingInterceptor extends CommandInterceptor
configuration| Constructor and Description |
|---|
AbstractLockingInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Throwable |
cleanLocksAndRethrow(InvocationContext ctx,
Throwable te) |
protected void |
lockKey(InvocationContext ctx,
Object key) |
void |
setDependencies(LockManager lockManager,
DataContainer dataContainer,
EntryFactory entryFactory,
ClusteringDependentLogic cll) |
Object |
visitInvalidateCommand(InvocationContext ctx,
InvalidateCommand command) |
Object |
visitInvalidateL1Command(InvocationContext ctx,
InvalidateL1Command command) |
getLog, getNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandpublic void setDependencies(LockManager lockManager, DataContainer dataContainer, EntryFactory entryFactory, ClusteringDependentLogic cll)
public final Object visitInvalidateCommand(InvocationContext ctx, InvalidateCommand command) throws Throwable
visitInvalidateCommand in interface VisitorvisitInvalidateCommand in class AbstractVisitorThrowablepublic final Object visitInvalidateL1Command(InvocationContext ctx, InvalidateL1Command command) throws Throwable
visitInvalidateL1Command in interface VisitorvisitInvalidateL1Command in class AbstractVisitorThrowableprotected final Throwable cleanLocksAndRethrow(InvocationContext ctx, Throwable te)
protected final void lockKey(InvocationContext ctx, Object key) throws InterruptedException
InterruptedExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.