Package org.infinispan.jmx
Interface JmxStatisticsExposer
- All Known Subinterfaces:
PassivationManager
- All Known Implementing Classes:
AbstractClusterStats,AbstractPassivationManager,CacheContainerStatsImpl,ClusterCacheStatsImpl,ClusterContainerStatsImpl,DefaultIracManager,LocalContainerStatsImpl,PassivationManagerImpl,PassivationManagerStub,RpcManagerImpl,StatsCollector
public interface JmxStatisticsExposer
Interface containing common cache management operations
- Since:
- 4.0
- Author:
- Jerry Gauthier
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether an interceptor's statistics are being captured.voidResets an interceptor's cache statisticsvoidsetStatisticsEnabled(boolean enabled) Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available through the mbean.
-
Method Details
-
getStatisticsEnabled
boolean getStatisticsEnabled()Returns whether an interceptor's statistics are being captured.- Returns:
- true if statistics are captured
-
setStatisticsEnabled
void setStatisticsEnabled(boolean enabled) Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available through the mbean.- Parameters:
enabled- true if statistics should be captured
-
resetStatistics
void resetStatistics()Resets an interceptor's cache statistics
-