public abstract class JmxStatsCommandInterceptor extends CommandInterceptor implements JmxStatisticsExposer
configuration| Constructor and Description |
|---|
JmxStatsCommandInterceptor() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkStatisticsUsed() |
boolean |
getStatisticsEnabled()
Returns whether an interceptor's statistics are being captured.
|
void |
resetStatistics()
Resets statistics gathered.
|
void |
setStatisticsEnabled(boolean enabled)
Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available
through the mbean.
|
getLog, getNext, handleDefault, hasNext, invokeNextInterceptor, setNextvisitApplyDeltaCommand, visitClearCommand, visitCollection, visitCommitCommand, visitDistributedExecuteCommand, visitEntrySetCommand, visitEvictCommand, visitGetKeyValueCommand, visitInvalidateCommand, visitInvalidateL1Command, visitKeySetCommand, visitLockControlCommand, visitPrepareCommand, visitPutKeyValueCommand, visitPutMapCommand, visitRemoveCommand, visitReplaceCommand, visitRollbackCommand, visitSizeCommand, visitUnknownCommand, visitValuesCommandpublic void checkStatisticsUsed()
public boolean getStatisticsEnabled()
getStatisticsEnabled in interface JmxStatisticsExposerpublic void setStatisticsEnabled(boolean enabled)
JmxStatisticsExposersetStatisticsEnabled in interface JmxStatisticsExposerenabled - whether gathering statistics for JMX are enabled.public void resetStatistics()
resetStatistics in interface JmxStatisticsExposerCopyright © 2012 JBoss by Red Hat. All Rights Reserved.