@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, visitRollbackCommandgetNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitCollectionpublic void injectDependencies(DataContainer dataContainer, LockManager lockManager, CommandsFactory commandsFactory)
protected Object handlePutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
handlePutDataMapCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handlePutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
handlePutKeyValueCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handlePutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
handlePutForExternalReadCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handlePrepareCommand(InvocationContext ctx, PrepareCommand command) throws Throwable
handlePrepareCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleCommitCommand(InvocationContext ctx, CommitCommand command) throws Throwable
handleCommitCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
handleRollbackCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
handleMoveCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
handleRemoveNodeCommand in class PrePostProcessingCommandInterceptorThrowablepublic 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 PrePostProcessingCommandInterceptorThrowableprotected Object handleClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
handleClearDataCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleEvictFqnCommand(InvocationContext ctx, EvictCommand command) throws Throwable
handleEvictFqnCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
handleGetKeyValueCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleGetNodeCommand(InvocationContext ctx, GetNodeCommand command) throws Throwable
handleGetNodeCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleGetKeysCommand(InvocationContext ctx, GetKeysCommand command) throws Throwable
handleGetKeysCommand in class PrePostProcessingCommandInterceptorThrowableprotected Object handleGetChildrenNamesCommand(InvocationContext ctx, GetChildrenNamesCommand command) throws Throwable
handleGetChildrenNamesCommand in class PrePostProcessingCommandInterceptorThrowablepublic void doAfterCall(InvocationContext ctx, VisitableCommand command)
PrePostProcessingCommandInterceptordoAfterCall in class PrePostProcessingCommandInterceptorctx - invocation contextcommand - command which was invokedCopyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.