org.infinispan.jmx
Interface JmxStatisticsExposer

All Known Implementing Classes:
ActivationInterceptor, CacheLoaderInterceptor, CacheMgmtInterceptor, CacheStoreInterceptor, DistCacheStoreInterceptor, JmxStatsCommandInterceptor, PassivationInterceptor

public interface JmxStatisticsExposer

Interface containing common cache management operations

Since:
4.0
Author:
Jerry Gauthier

Method Summary
 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.
 

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


-->

Copyright © 2011 JBoss, a division of Red Hat. All Rights Reserved.