public class InvalidationInterceptor extends BaseRpcInterceptor
| Modifier and Type | Class and Description |
|---|---|
static class |
InvalidationInterceptor.InvalidationFilterVisitor |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
optimistic |
protected Map<GlobalTransaction,List<WriteCommand>> |
txMods |
defaultSynchronous, rpcManager, txTableconfiguration, log, trace| Constructor and Description |
|---|
InvalidationInterceptor() |
checkResponses, injectComponents, isLocalModeForced, isSynchronous, isTransactionalAndLocal, replicateCall, replicateCall, replicateCall, replicateCall, skipReplicationOfTransactionMethodgetNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitCollection, visitCreateNodeCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommandprotected Map<GlobalTransaction,List<WriteCommand>> txMods
protected boolean optimistic
public void injectDependencies(CommandsFactory commandsFactory)
public Object visitPutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
VisitorvisitPutDataMapCommand in interface VisitorvisitPutDataMapCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitPutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
VisitorvisitPutForExternalReadCommand in interface VisitorvisitPutForExternalReadCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
VisitorvisitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
VisitorvisitRemoveNodeCommand in interface VisitorvisitRemoveNodeCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
VisitorvisitRemoveKeyCommand in interface VisitorvisitRemoveKeyCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
VisitorvisitMoveCommand in interface VisitorvisitMoveCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitClearDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
VisitorvisitClearDataCommand in interface VisitorvisitClearDataCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitPrepareCommand(InvocationContext ctx, PrepareCommand command) throws Throwable
VisitorvisitPrepareCommand in interface VisitorvisitPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitOptimisticPrepareCommand(InvocationContext ctx, OptimisticPrepareCommand command) throws Throwable
VisitorvisitOptimisticPrepareCommand in interface VisitorvisitOptimisticPrepareCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitCommitCommand(InvocationContext ctx, CommitCommand command) throws Throwable
VisitorvisitCommitCommand in interface VisitorvisitCommitCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.public Object visitRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
VisitorvisitRollbackCommand in interface VisitorvisitRollbackCommand in class AbstractVisitorctx - invocation contextcommand - command to visitThrowable - in the event of problems.protected void invalidateAcrossCluster(Fqn fqn, TransactionWorkspace workspace, boolean synchronous, InvocationContext ctx) throws Throwable
Throwableprotected DataVersion getNodeVersion(TransactionWorkspace w, Fqn f)
protected TransactionWorkspace getWorkspace(InvocationContext ctx)
public void resetStatistics()
public boolean getStatisticsEnabled()
public void setStatisticsEnabled(boolean enabled)
public long getInvalidations()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.