public class CacheStoreInterceptor extends SkipCheckChainedInterceptor
Modifier and Type | Class and Description |
---|---|
static class |
CacheStoreInterceptor.StoreModificationsBuilder |
Modifier and Type | Field and Description |
---|---|
protected TransactionManager |
txMgr |
configuration, log, trace
Constructor and Description |
---|
CacheStoreInterceptor() |
handleAll, handleDefault, handleEvictFqnCommand, handleExistsNodeCommand, handleGetChildrenNamesCommand, handleGetDataMapCommand, handleGetKeysCommand, handleGetKeyValueCommand, handleGetNodeCommand, handleGravitateDataCommand, handleInvalidateCommand, visitClearDataCommand, visitCommitCommand, visitEvictFqnCommand, visitExistsNodeCommand, visitGetChildrenNamesCommand, visitGetDataMapCommand, visitGetKeysCommand, visitGetKeyValueCommand, visitGetNodeCommand, visitGravitateDataCommand, visitInvalidateCommand, visitMoveCommand, visitOptimisticPrepareCommand, visitPrepareCommand, visitPutDataMapCommand, visitPutForExternalReadCommand, visitPutKeyValueCommand, visitRemoveKeyCommand, visitRemoveNodeCommand, visitRollbackCommand
getNext, hasNext, invokeNextInterceptor, setNext
visitCollection, visitCreateNodeCommand
protected TransactionManager txMgr
protected void init(CacheLoaderManager loaderManager, TransactionManager txManager, CacheLoaderConfig clConfig, BuddyFqnTransformer buddyFqnTransformer)
protected void start()
public boolean skipInterception(InvocationContext ctx, VisitableCommand command)
skipInterception
in class SkipCheckChainedInterceptor
ctx
- invocation contextcommand
- commandprotected Object handleCommitCommand(InvocationContext ctx, CommitCommand command) throws Throwable
handleCommitCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handleRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
handleRollbackCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handleOptimisticPrepareCommand(InvocationContext ctx, OptimisticPrepareCommand command) throws Throwable
handleOptimisticPrepareCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handlePrepareCommand(InvocationContext ctx, PrepareCommand command) throws Throwable
handlePrepareCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handleRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
handleRemoveNodeCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handleRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
handleRemoveKeyCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handleRemoveDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
handleRemoveDataCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handleMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
handleMoveCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handlePutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
handlePutDataMapCommand
in class SkipCheckChainedInterceptor
Throwable
protected void storeStateForPutDataMap(Fqn f, InvocationContext ctx) throws Exception
Exception
protected Object handlePutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
handlePutKeyValueCommand
in class SkipCheckChainedInterceptor
Throwable
protected Object handlePutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
handlePutForExternalReadCommand
in class SkipCheckChainedInterceptor
Throwable
protected boolean inTransaction() throws SystemException
SystemException
protected CacheStoreInterceptor.StoreModificationsBuilder prepareCacheLoader(GlobalTransaction gtx, TransactionContext transactionContext, boolean onePhase) throws Throwable
Throwable
public void resetStatistics()
public boolean getStatisticsEnabled()
public void setStatisticsEnabled(boolean enabled)
public long getCacheLoaderStores()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.