public class DistCacheStoreInterceptor extends CacheStoreInterceptor
CacheStoreInterceptor.StoreModificationsBuilderconfiguration| Constructor and Description |
|---|
DistCacheStoreInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
void |
inject(DistributionManager dm,
Transport transport) |
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 |
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) |
getCacheLoaderStores, init, prepareCacheLoader, resetStatistics, skip, start, visitClearCommand, visitCommitCommand, visitRollbackCommandcheckStatisticsUsed, getStatisticsEnabled, setStatisticsEnabledgetNext, handleDefault, hasNext, 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)
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 CacheStoreInterceptorThrowableprotected boolean skipKey(Object key)
skipKey in class CacheStoreInterceptorCopyright © 2012 JBoss by Red Hat. All Rights Reserved.