Interface CacheMXBean

All Superinterfaces:
CacheStatistics, CacheStatisticsMXBean
All Known Implementing Classes:
CacheMXBeanImpl

@MXBean public interface CacheMXBean extends CacheStatisticsMXBean
A management bean for cache.

Each cache's statistics object must be registered with an ObjectName that is unique and has the following:

Type: javax.cache:type=CacheStatistics

Required Attributes:

  • CacheManager Name
  • Cache Name
Since:
1.0
Author:
Greg Luck, Yannis Cosmadopoulos
  • Method Details

    • getName

      String getName()
      Returns:
      the name of the Cache these statistics are for
    • getStatus

      Status getStatus()
      Gets the Status attribute of the Cache.
      Returns:
      The status value from the Status enum class