Interface JCacheConfigMXBean

All Known Implementing Classes:
JCacheConfigMXBeanImpl

@MXBean public interface JCacheConfigMXBean
JMX management interface for per-cache configuration.

Exposes immutable cache configuration properties. Attribute names follow the JSR-107 CacheMXBean convention for compatibility with JMX tools.

Registered under ObjectName: javax.cache:type=CacheConfiguration,CacheManager=<uri>,Cache=<name>

Since:
2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    The key type name (always "java.lang.Object" for untyped caches).
    The value type name (always "java.lang.Object" for untyped caches).
    boolean
    Whether management (this MXBean) is enabled.
    boolean
    Whether read-through caching is enabled.
    boolean
    Whether statistics collection is enabled.
    boolean
    Whether the cache stores entries by value (copy) rather than by reference.
    boolean
    Whether write-through caching is enabled.
  • Method Details

    • isStoreByValue

      boolean isStoreByValue()
      Whether the cache stores entries by value (copy) rather than by reference.
    • isManagementEnabled

      boolean isManagementEnabled()
      Whether management (this MXBean) is enabled.
    • isStatisticsEnabled

      boolean isStatisticsEnabled()
      Whether statistics collection is enabled.
    • isReadThrough

      boolean isReadThrough()
      Whether read-through caching is enabled.
    • isWriteThrough

      boolean isWriteThrough()
      Whether write-through caching is enabled.
    • getKeyType

      String getKeyType()
      The key type name (always "java.lang.Object" for untyped caches).
    • getValueType

      String getValueType()
      The value type name (always "java.lang.Object" for untyped caches).