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, visitRollbackCommandgetNext, hasNext, invokeNextInterceptor, setNextvisitCollection, visitCreateNodeCommandprotected 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 SkipCheckChainedInterceptorctx - invocation contextcommand - commandprotected Object handleCommitCommand(InvocationContext ctx, CommitCommand command) throws Throwable
handleCommitCommand in class SkipCheckChainedInterceptorThrowableprotected Object handleRollbackCommand(InvocationContext ctx, RollbackCommand command) throws Throwable
handleRollbackCommand in class SkipCheckChainedInterceptorThrowableprotected Object handleOptimisticPrepareCommand(InvocationContext ctx, OptimisticPrepareCommand command) throws Throwable
handleOptimisticPrepareCommand in class SkipCheckChainedInterceptorThrowableprotected Object handlePrepareCommand(InvocationContext ctx, PrepareCommand command) throws Throwable
handlePrepareCommand in class SkipCheckChainedInterceptorThrowableprotected Object handleRemoveNodeCommand(InvocationContext ctx, RemoveNodeCommand command) throws Throwable
handleRemoveNodeCommand in class SkipCheckChainedInterceptorThrowableprotected Object handleRemoveKeyCommand(InvocationContext ctx, RemoveKeyCommand command) throws Throwable
handleRemoveKeyCommand in class SkipCheckChainedInterceptorThrowableprotected Object handleRemoveDataCommand(InvocationContext ctx, ClearDataCommand command) throws Throwable
handleRemoveDataCommand in class SkipCheckChainedInterceptorThrowableprotected Object handleMoveCommand(InvocationContext ctx, MoveCommand command) throws Throwable
handleMoveCommand in class SkipCheckChainedInterceptorThrowableprotected Object handlePutDataMapCommand(InvocationContext ctx, PutDataMapCommand command) throws Throwable
handlePutDataMapCommand in class SkipCheckChainedInterceptorThrowableprotected void storeStateForPutDataMap(Fqn f, InvocationContext ctx) throws Exception
Exceptionprotected Object handlePutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
handlePutKeyValueCommand in class SkipCheckChainedInterceptorThrowableprotected Object handlePutForExternalReadCommand(InvocationContext ctx, PutForExternalReadCommand command) throws Throwable
handlePutForExternalReadCommand in class SkipCheckChainedInterceptorThrowableprotected boolean inTransaction()
throws SystemException
SystemExceptionprotected CacheStoreInterceptor.StoreModificationsBuilder prepareCacheLoader(GlobalTransaction gtx, TransactionContext transactionContext, boolean onePhase) throws Throwable
Throwablepublic void resetStatistics()
public boolean getStatisticsEnabled()
public void setStatisticsEnabled(boolean enabled)
public long getCacheLoaderStores()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.