Package org.infinispan.jmx
Interface JmxStatisticsExposer
-
- All Known Subinterfaces:
PassivationManager
,PerCacheInboundInvocationHandler
- All Known Implementing Classes:
AbstractDelegatingHandler
,AbstractPassivationManager
,BasePerCacheInboundInvocationHandler
,NonTotalOrderPerCacheInboundInvocationHandler
,NonTotalOrderTxPerCacheInboundInvocationHandler
,RpcManagerImpl
,TotalOrderTxPerCacheInboundInvocationHandler
,TrianglePerCacheInboundInvocationHandler
public interface JmxStatisticsExposer
Interface containing common cache management operations- Since:
- 4.0
- Author:
- Jerry Gauthier
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getStatisticsEnabled()
Returns whether an interceptor's statistics are being captured.void
resetStatistics()
Resets an interceptor's cache statisticsvoid
setStatisticsEnabled(boolean enabled)
Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available through the mbean.
-
-
-
Method Detail
-
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
-
-