public abstract class JmxStatsCommandInterceptor extends CommandInterceptor
cacheConfiguration
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) |
getLockAcquisitionTimeout, getLog, getNext, handleDefault, hasNext, hasSkipLocking, injectConfiguration, invokeNextInterceptor, setNext
public void checkStatisticsUsed()
public boolean getStatisticsEnabled()
public void setStatisticsEnabled(boolean enabled)
enabled
- whether gathering statistics for JMX are enabled.public void resetStatistics()
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.