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, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
public void setDependencies(LockManager lockManager, DataContainer dataContainer, EntryFactory entryFactory, ClusteringDependentLogic cll)
public final Object visitInvalidateCommand(InvocationContext ctx, InvalidateCommand command) throws Throwable
visitInvalidateCommand
in interface Visitor
visitInvalidateCommand
in class AbstractVisitor
Throwable
public final Object visitInvalidateL1Command(InvocationContext ctx, InvalidateL1Command command) throws Throwable
visitInvalidateL1Command
in interface Visitor
visitInvalidateL1Command
in class AbstractVisitor
Throwable
protected final Throwable cleanLocksAndRethrow(InvocationContext ctx, Throwable te)
protected final void lockKey(InvocationContext ctx, Object key) throws InterruptedException
InterruptedException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.