public class DistCacheStoreInterceptor extends CacheStoreInterceptor
CacheStoreInterceptor.StoreModificationsBuilderenabledcacheConfiguration| 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, visitRollbackCommandcheckStatisticsUsed, getStatisticsEnabled, setStatisticsEnabledgetLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitCollection, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandprotected Log getLog()
getLog in class CacheStoreInterceptorpublic void inject(DistributionManager dm, Transport transport, ClusteringDependentLogic cdl)
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand in interface VisitorvisitPutKeyValueCommand in class CacheStoreInterceptorThrowablepublic Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand in interface VisitorvisitPutMapCommand in class CacheStoreInterceptorThrowablepublic Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand in interface VisitorvisitRemoveCommand in class CacheStoreInterceptorThrowablepublic Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand in interface VisitorvisitReplaceCommand in class CacheStoreInterceptorThrowablepublic Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand in interface VisitorvisitPrepareCommand in class CacheStoreInterceptorThrowablepublic Object visitClearCommand(InvocationContext ctx, ClearCommand command) throws Throwable
visitClearCommand in interface VisitorvisitClearCommand in class CacheStoreInterceptorThrowableprotected boolean skip(InvocationContext ctx, FlagAffectedCommand command)
skip in class CacheStoreInterceptorprotected boolean skip(InvocationContext ctx)
skip in class CacheStoreInterceptorprotected boolean skipKey(Object key)
skipKey in class CacheStoreInterceptorCopyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.