public class DistCacheStoreInterceptor extends CacheStoreInterceptor
CacheStoreInterceptor.StoreModificationsBuilder
enabled
cacheConfiguration
Constructor and Description |
---|
DistCacheStoreInterceptor() |
Modifier and Type | Method and Description |
---|---|
protected Log |
getLog() |
void |
inject(DistributionManager dm,
Transport transport,
ClusteringDependentLogic cdl) |
protected boolean |
skip(InvocationContext ctx) |
protected boolean |
skip(InvocationContext ctx,
FlagAffectedCommand command)
Method that skips invocation if: - No store defined or, - The context contains Flag.SKIP_CACHE_STORE or,
|
protected boolean |
skipKey(Object key)
Method that skips invocation if: - The store is a shared one and node storing the key is not the 1st owner of the
key or, - This is an L1 put operation.
|
Object |
visitClearCommand(InvocationContext ctx,
ClearCommand command) |
Object |
visitPrepareCommand(TxInvocationContext ctx,
PrepareCommand command) |
Object |
visitPutKeyValueCommand(InvocationContext ctx,
PutKeyValueCommand command) |
Object |
visitPutMapCommand(InvocationContext ctx,
PutMapCommand command) |
Object |
visitRemoveCommand(InvocationContext ctx,
RemoveCommand command) |
Object |
visitReplaceCommand(InvocationContext ctx,
ReplaceCommand command) |
clearCacheStore, commitCommand, disableInterceptor, getCacheLoaderStores, getPreparingTxs, getTxStores, init, prepareCacheLoader, resetStatistics, start, visitCommitCommand, visitRollbackCommand
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled
getLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
protected Log getLog()
getLog
in class CacheStoreInterceptor
public void inject(DistributionManager dm, Transport transport, ClusteringDependentLogic cdl)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class CacheStoreInterceptor
Throwable
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand
in interface Visitor
visitPutMapCommand
in class CacheStoreInterceptor
Throwable
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand
in interface Visitor
visitRemoveCommand
in class CacheStoreInterceptor
Throwable
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface Visitor
visitReplaceCommand
in class CacheStoreInterceptor
Throwable
public Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand
in interface Visitor
visitPrepareCommand
in class CacheStoreInterceptor
Throwable
public Object visitClearCommand(InvocationContext ctx, ClearCommand command) throws Throwable
visitClearCommand
in interface Visitor
visitClearCommand
in class CacheStoreInterceptor
Throwable
protected boolean skip(InvocationContext ctx, FlagAffectedCommand command)
skip
in class CacheStoreInterceptor
protected boolean skip(InvocationContext ctx)
skip
in class CacheStoreInterceptor
protected boolean skipKey(Object key)
skipKey
in class CacheStoreInterceptor
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.