Package wt.cache

Interface ICacheManagerMBean

All Superinterfaces:
SelfEmailingMBean
All Known Subinterfaces:
ConcurrentHashMapCacheMonitorMBean, GuavaCacheMonitorMBean, ICacheManagerClassicMBean, ICacheManagerPlusMBean

public interface ICacheManagerMBean extends SelfEmailingMBean
Instrumented cache management interface

Supported API: true

Extendable: true
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Count of entries in the cache

    Supported API: true
    long
    Number of cache hits

    Supported API: true
    long
    Number of cache misses

    Supported API: true
    long
    Number of cache overflows

    Supported API: true
    int
    Configured maximum cache size

    Supported API: true
    Name of cache

    Supported API: true
    long
    Restart number of this cache

    Supported API: true
    long
    Time this cache can be considered to have been up since last restarting its statistics (in milliseconds)

    Supported API: true
    void
    log()
    Log this MBean to log4j logger, wt.cache.ICacheManagerMBean.mbean

    Supported API: true

    Methods inherited from interface wt.jmx.core.mbeans.SelfEmailingMBean

    emailThisMBean
  • Method Details

    • getName

      String getName()
      Name of cache

      Supported API: true
    • getCacheEntryCount

      int getCacheEntryCount()
      Count of entries in the cache

      Supported API: true
    • getCacheSize

      int getCacheSize()
      Configured maximum cache size

      Supported API: true
    • getCacheHits

      long getCacheHits()
      Number of cache hits

      Supported API: true
    • getCacheMisses

      long getCacheMisses()
      Number of cache misses

      Supported API: true
    • getCacheOverflows

      long getCacheOverflows()
      Number of cache overflows

      Supported API: true
    • getRestartNumber

      long getRestartNumber()
      Restart number of this cache

      Supported API: true
    • getUptime

      long getUptime()
      Time this cache can be considered to have been up since last restarting its statistics (in milliseconds)

      Supported API: true
    • log

      @MBeanOperationImpact(1) void log()
      Log this MBean to log4j logger, wt.cache.ICacheManagerMBean.mbean

      Supported API: true