@Deprecated public class PessimisticLockInterceptor extends PrePostProcessingCommandInterceptor
configuration, log, trace
Constructor and Description |
---|
PessimisticLockInterceptor()
Deprecated.
|
doBeforeCall, handleCreateNodeCommand, handleExistsNodeCommand, handleGetDataMapCommand, handleGravitateDataCommand, handleInvalidateCommand, handleOptimisticPrepareCommand, visitClearDataCommand, visitCommitCommand, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommand
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
visitCollection
public void injectDependencies(DataContainer dataContainer, LockManager lockManager, CommandsFactory commandsFactory)
protected Object handlePutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
handlePutDataMapCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handlePutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
handlePutKeyValueCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handlePutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
handlePutForExternalReadCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handlePrepareCommand(InvocationContext ctx, PrepareCommand command) throws Throwable
handlePrepareCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleCommitCommand(InvocationContext ctx, CommitCommand command) throws Throwable
handleCommitCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
handleRollbackCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
handleMoveCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
handleRemoveNodeCommand
in class PrePostProcessingCommandInterceptor
Throwable
public void lockAllForRemoval(NodeSPI node, InvocationContext ctx, TransactionContext transactionContext) throws InterruptedException
node
- node to inspectctx
- invocation contexttransactionContext
- transaction entryInterruptedException
- in the event of interruptionprotected Object handleRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
handleRemoveKeyCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
handleClearDataCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleEvictFqnCommand(InvocationContext ctx, EvictCommand command) throws Throwable
handleEvictFqnCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
handleGetKeyValueCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleGetNodeCommand(InvocationContext ctx, GetNodeCommand command) throws Throwable
handleGetNodeCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleGetKeysCommand(InvocationContext ctx, GetKeysCommand command) throws Throwable
handleGetKeysCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected Object handleGetChildrenNamesCommand(InvocationContext ctx, GetChildrenNamesCommand command) throws Throwable
handleGetChildrenNamesCommand
in class PrePostProcessingCommandInterceptor
Throwable
public void doAfterCall(InvocationContext ctx, VisitableCommand command)
PrePostProcessingCommandInterceptor
doAfterCall
in class PrePostProcessingCommandInterceptor
ctx
- invocation contextcommand
- command which was invokedCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.