public class MVCCLockingInterceptor extends PrePostProcessingCommandInterceptor
configuration, log, trace
Constructor and Description |
---|
MVCCLockingInterceptor() |
handleCreateNodeCommand, 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 setDependencies(LockManager lockManager, DataContainer dataContainer, MVCCNodeHelper helper)
protected boolean doBeforeCall(InvocationContext ctx, VisitableCommand command)
doBeforeCall
in class PrePostProcessingCommandInterceptor
public Object handlePutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
handlePutDataMapCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handlePutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
handlePutKeyValueCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handlePutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
handlePutForExternalReadCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
handleRemoveNodeCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
handleClearDataCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleEvictFqnCommand(InvocationContext ctx, EvictCommand command) throws Throwable
handleEvictFqnCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleInvalidateCommand(InvocationContext ctx, InvalidateCommand command) throws Throwable
handleInvalidateCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
handleRemoveKeyCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleGetDataMapCommand(InvocationContext ctx, GetDataMapCommand command) throws Throwable
handleGetDataMapCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleExistsNodeCommand(InvocationContext ctx, ExistsCommand command) throws Throwable
handleExistsNodeCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
handleGetKeyValueCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleGetNodeCommand(InvocationContext ctx, GetNodeCommand command) throws Throwable
handleGetNodeCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleGetKeysCommand(InvocationContext ctx, GetKeysCommand command) throws Throwable
handleGetKeysCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleGetChildrenNamesCommand(InvocationContext ctx, GetChildrenNamesCommand command) throws Throwable
handleGetChildrenNamesCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
handleMoveCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleGravitateDataCommand(InvocationContext ctx, GravitateDataCommand command) throws Throwable
handleGravitateDataCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
handleRollbackCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handleCommitCommand(InvocationContext ctx, CommitCommand command) throws Throwable
handleCommitCommand
in class PrePostProcessingCommandInterceptor
Throwable
public Object handlePrepareCommand(InvocationContext ctx, PrepareCommand command) throws Throwable
handlePrepareCommand
in class PrePostProcessingCommandInterceptor
Throwable
protected 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.