Class AbstractClusterStats

    • Field Detail

      • DEFAULT_STALE_STATS_THRESHOLD

        public static final long DEFAULT_STALE_STATS_THRESHOLD
        See Also:
        Constant Field Values
    • Method Detail

      • reset

        public void reset()
      • getStaleStatsThreshold

        public long getStaleStatsThreshold()
      • setStaleStatsThreshold

        public void setStaleStatsThreshold​(long staleStatsThreshold)
      • getTimeSinceReset

        public long getTimeSinceReset()
      • setStatisticsEnabled

        public void setStatisticsEnabled​(boolean enabled)
        Description copied from interface: JmxStatisticsExposer
        Enables an interceptor's cache statistics If true, the interceptor will capture statistics and make them available through the mbean.
        Specified by:
        setStatisticsEnabled in interface JmxStatisticsExposer
        Parameters:
        enabled - true if statistics should be captured
      • isStatisticsEnabled

        public boolean isStatisticsEnabled()