public class CacheStoreInterceptor extends JmxStatsCommandInterceptor
| Modifier and Type | Class and Description |
|---|---|
class |
CacheStoreInterceptor.StoreModificationsBuilder |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
enabled |
cacheConfiguration| Constructor and Description |
|---|
CacheStoreInterceptor() |
checkStatisticsUsed, 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 CommandInterceptorprotected void init(CacheLoaderManager loaderManager, InternalEntryFactory entryFactory, TransactionManager transactionManager)
protected void start()
protected boolean skip(InvocationContext ctx, FlagAffectedCommand command)
protected boolean skip(InvocationContext ctx)
public Object visitCommitCommand(TxInvocationContext ctx, CommitCommand command) throws Throwable
visitCommitCommand in interface VisitorvisitCommitCommand in class AbstractVisitorThrowableprotected void commitCommand(TxInvocationContext ctx) throws Throwable
Throwablepublic Object visitRollbackCommand(TxInvocationContext ctx, RollbackCommand command) throws Throwable
visitRollbackCommand in interface VisitorvisitRollbackCommand in class AbstractVisitorThrowablepublic Object visitPrepareCommand(TxInvocationContext ctx, PrepareCommand command) throws Throwable
visitPrepareCommand in interface VisitorvisitPrepareCommand 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 AbstractVisitorThrowableprotected void clearCacheStore()
throws CacheLoaderException
CacheLoaderExceptionpublic 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 visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand in interface VisitorvisitPutMapCommand in class AbstractVisitorThrowableprotected final void prepareCacheLoader(TxInvocationContext ctx, GlobalTransaction gtx, TxInvocationContext transactionContext, boolean onePhase) throws Throwable
Throwableprotected boolean skipKey(Object key)
public void resetStatistics()
JmxStatsCommandInterceptorresetStatistics in interface JmxStatisticsExposerresetStatistics in class JmxStatsCommandInterceptorpublic long getCacheLoaderStores()
public void disableInterceptor()
public Map<GlobalTransaction,Set<Object>> getPreparingTxs()
public Map<GlobalTransaction,Integer> getTxStores()
Copyright © 2017 JBoss, a division of Red Hat. All Rights Reserved.