@Deprecated public class InvalidationInterceptor extends BaseRpcInterceptor implements JmxStatisticsExposer
InvalidateCommand
on the remote caches containing all keys modified. This allows the remote
cache to look up the value in a shared cache loader which would have been updated with the changes.Modifier and Type | Class and Description |
---|---|
static class |
InvalidationInterceptor.InvalidationFilterVisitor
Deprecated.
|
defaultSynchronous, rpcManager, trace
cacheConfiguration
Constructor and Description |
---|
InvalidationInterceptor()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
long |
getInvalidations()
Deprecated.
|
protected Log |
getLog()
Deprecated.
|
boolean |
getStatisticsEnabled()
Deprecated.
Returns whether an interceptor's statistics are being captured.
|
void |
injectDependencies(CommandsFactory commandsFactory)
Deprecated.
|
void |
resetStatistics()
Deprecated.
Resets an interceptor's cache statistics
|
void |
setStatisticsEnabled(boolean enabled)
Deprecated.
Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available
through the mbean.
|
Object |
visitClearCommand(InvocationContext ctx,
ClearCommand command)
Deprecated.
|
Object |
visitCommitCommand(TxInvocationContext ctx,
CommitCommand command)
Deprecated.
|
Object |
visitLockControlCommand(TxInvocationContext ctx,
LockControlCommand command)
Deprecated.
|
Object |
visitPrepareCommand(TxInvocationContext ctx,
PrepareCommand command)
Deprecated.
|
Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command)
Deprecated.
|
Object |
visitPutMapCommand(InvocationContext ctx,
PutMapCommand command)
Deprecated.
|
Object |
visitRemoveCommand(InvocationContext ctx,
RemoveCommand command)
Deprecated.
|
Object |
visitReplaceCommand(InvocationContext ctx,
ReplaceCommand command)
Deprecated.
|
getSelfDeliverFilter, init, inject, isLocalModeForced, isSyncCommitPhase, isSynchronous, shouldInvokeRemoteTxCommand, shouldTotalOrderRollbackBeInvokedRemotely, totalOrderPrepare, totalOrderTxCommit, totalOrderTxRollback, transactionRemotelyPrepared
getCacheWithFlags, getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommand
protected Log getLog()
getLog
in class CommandInterceptor
public void injectDependencies(CommandsFactory commandsFactory)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class AbstractVisitor
Throwable
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface Visitor
visitReplaceCommand
in class AbstractVisitor
Throwable
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand
in interface Visitor
visitRemoveCommand
in class AbstractVisitor
Throwable
public Object visitClearCommand(InvocationContext ctx, ClearCommand command) throws Throwable
visitClearCommand
in interface Visitor
visitClearCommand
in class AbstractVisitor
Throwable
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand
in interface Visitor
visitPutMapCommand
in class AbstractVisitor
Throwable
public Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand
in interface Visitor
visitPrepareCommand
in class AbstractVisitor
Throwable
public Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand
in interface Visitor
visitCommitCommand
in class AbstractVisitor
Throwable
public Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command) throws Throwable
visitLockControlCommand
in interface Visitor
visitLockControlCommand
in class AbstractVisitor
Throwable
public void resetStatistics()
JmxStatisticsExposer
resetStatistics
in interface JmxStatisticsExposer
public boolean getStatisticsEnabled()
JmxStatisticsExposer
getStatisticsEnabled
in interface JmxStatisticsExposer
public void setStatisticsEnabled(boolean enabled)
JmxStatisticsExposer
setStatisticsEnabled
in interface JmxStatisticsExposer
enabled
- true if statistics should be capturedpublic long getInvalidations()
Copyright © 2022 JBoss, a division of Red Hat. All rights reserved.