public interface JmxStatisticsExposer
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
dumpStatistics()
Returns a map of the cache interceptor's statistics
Map is keyed on statistic names (which are Strings) and values are Objects.
|
boolean |
getStatisticsEnabled()
Returns whether an interceptor's statistics are
being captured.
|
void |
resetStatistics()
Resets an interceptor's cache statistics
|
void |
setStatisticsEnabled(boolean enabled)
Enables an interceptor's cache statistics
If true, the interceptor will capture statistics
and make them available through the mbean.
|
boolean getStatisticsEnabled()
void setStatisticsEnabled(boolean enabled)
enabled
- true if statistics should be capturedMap<String,Object> dumpStatistics()
void resetStatistics()
Copyright © 2012 JBoss, a division of Red Hat. All Rights Reserved.