@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, tracecacheConfiguration| 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, transactionRemotelyPreparedgetCacheWithFlags, getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetAllCommand, visitGetCacheEntryCommand, visitGetKeysInGroupCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitReadOnlyKeyCommand, visitReadOnlyManyCommand, visitReadWriteKeyCommand, visitReadWriteKeyValueCommand, visitReadWriteManyCommand, visitReadWriteManyEntriesCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitWriteOnlyKeyCommand, visitWriteOnlyKeyValueCommand, visitWriteOnlyManyCommand, visitWriteOnlyManyEntriesCommandprotected Log getLog()
getLog in class CommandInterceptorpublic void injectDependencies(CommandsFactory commandsFactory)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class AbstractVisitorThrowablepublic Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand in interface VisitorvisitReplaceCommand in class AbstractVisitorThrowablepublic Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand in interface VisitorvisitRemoveCommand in class AbstractVisitorThrowablepublic Object visitClearCommand(InvocationContext ctx, ClearCommand command) throws Throwable
visitClearCommand in interface VisitorvisitClearCommand in class AbstractVisitorThrowablepublic Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand in interface VisitorvisitPutMapCommand in class AbstractVisitorThrowablepublic Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand in interface VisitorvisitPrepareCommand in class AbstractVisitorThrowablepublic Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand in interface VisitorvisitCommitCommand in class AbstractVisitorThrowablepublic Object visitLockControlCommand(TxInvocationContext ctx, LockControlCommand command) throws Throwable
visitLockControlCommand in interface VisitorvisitLockControlCommand in class AbstractVisitorThrowablepublic void resetStatistics()
JmxStatisticsExposerresetStatistics in interface JmxStatisticsExposerpublic boolean getStatisticsEnabled()
JmxStatisticsExposergetStatisticsEnabled in interface JmxStatisticsExposerpublic void setStatisticsEnabled(boolean enabled)
JmxStatisticsExposersetStatisticsEnabled in interface JmxStatisticsExposerenabled - true if statistics should be capturedpublic long getInvalidations()
Copyright © 2025 JBoss, a division of Red Hat. All rights reserved.