public class ActivationInterceptor extends CacheLoaderInterceptor
enabled, entryFactory, notifier, persistenceManagercacheConfiguration| Constructor and Description |
|---|
ActivationInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
protected Log |
getLog() |
void |
inject(Configuration cfg,
ActivationManager activationManager,
ClusteringDependentLogic cdl,
DataContainer dataContainer) |
protected Boolean |
loadIfNeeded(InvocationContext ctx,
Object key,
boolean isRetrieval,
FlagAffectedCommand cmd)
Loads from the cache loader the entry for the given key.
|
protected void |
sendNotification(Object key,
Object value,
boolean pre,
InvocationContext ctx,
FlagAffectedCommand cmd) |
void |
start() |
Object |
visitPutMapCommand(InvocationContext ctx,
PutMapCommand command) |
canLoad, disableInterceptor, disableStore, forceLoad, getCacheLoaderLoads, getCacheLoaderMisses, getStores, injectDependencies, isDeltaWrite, resetStatistics, visitApplyDeltaCommand, visitEntrySetCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitKeySetCommand, visitPutKeyValueCommand, visitRemoveCommand, visitReplaceCommand, visitSizeCommand, visitValuesCommandcheckStatisticsUsed, getStatisticsEnabled, setStatisticsEnabledgetLockAcquisitionTimeout, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNextvisitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEvictCommand, visitInvalidateL1Command, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitUnknownCommandprotected Log getLog()
getLog in class CacheLoaderInterceptorpublic void inject(Configuration cfg, ActivationManager activationManager, ClusteringDependentLogic cdl, DataContainer dataContainer)
public void start()
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand in interface VisitorvisitPutMapCommand in class AbstractVisitorThrowableprotected Boolean loadIfNeeded(InvocationContext ctx, Object key, boolean isRetrieval, FlagAffectedCommand cmd) throws Throwable
CacheLoaderInterceptorloadIfNeeded in class CacheLoaderInterceptorctx - The current invocation's contextkey - The key for the entry to look upisRetrieval - Whether or not this was called in the scope of a getcmd - The command that was called that now wants to query the cache loaderThrowableprotected void sendNotification(Object key, Object value, boolean pre, InvocationContext ctx, FlagAffectedCommand cmd)
sendNotification in class CacheLoaderInterceptorCopyright © 2014 JBoss, a division of Red Hat. All rights reserved.