public class ActivationInterceptor extends CacheLoaderInterceptor
clm, loader, notifier
configuration
Constructor and Description |
---|
ActivationInterceptor() |
Modifier and Type | Method and Description |
---|---|
String |
getActivations() |
protected Log |
getLog() |
void |
resetStatistics()
Resets statistics gathered.
|
protected void |
sendNotification(Object key,
Object value,
boolean pre,
InvocationContext ctx) |
void |
setCacheStore() |
Object |
visitGetKeyValueCommand(InvocationContext ctx,
GetKeyValueCommand 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) |
getCacheLoaderLoads, getCacheLoaderMisses, injectDependencies, isPrimaryOwner, startInterceptor, visitInvalidateCommand
checkStatisticsUsed, getStatisticsEnabled, setStatisticsEnabled
getNext, handleDefault, hasNext, invokeNextInterceptor, setNext
visitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommand
protected Log getLog()
getLog
in class CacheLoaderInterceptor
public void setCacheStore()
public Object visitPutKeyValueCommand(InvocationContext ctx, PutKeyValueCommand command) throws Throwable
visitPutKeyValueCommand
in interface Visitor
visitPutKeyValueCommand
in class CacheLoaderInterceptor
Throwable
public Object visitRemoveCommand(InvocationContext ctx, RemoveCommand command) throws Throwable
visitRemoveCommand
in interface Visitor
visitRemoveCommand
in class CacheLoaderInterceptor
Throwable
public Object visitReplaceCommand(InvocationContext ctx, ReplaceCommand command) throws Throwable
visitReplaceCommand
in interface Visitor
visitReplaceCommand
in class CacheLoaderInterceptor
Throwable
public Object visitPutMapCommand(InvocationContext ctx, PutMapCommand command) throws Throwable
visitPutMapCommand
in interface Visitor
visitPutMapCommand
in class AbstractVisitor
Throwable
public Object visitGetKeyValueCommand(InvocationContext ctx, GetKeyValueCommand command) throws Throwable
visitGetKeyValueCommand
in interface Visitor
visitGetKeyValueCommand
in class CacheLoaderInterceptor
Throwable
protected void sendNotification(Object key, Object value, boolean pre, InvocationContext ctx)
sendNotification
in class CacheLoaderInterceptor
public String getActivations()
public void resetStatistics()
JmxStatsCommandInterceptor
resetStatistics
in interface JmxStatisticsExposer
resetStatistics
in class CacheLoaderInterceptor
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.