Interface JCacheConfigMXBean
- All Known Implementing Classes:
JCacheConfigMXBeanImpl
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 TypeMethodDescriptionThe key type name (always "java.lang.Object" for untyped caches).The value type name (always "java.lang.Object" for untyped caches).booleanWhether management (this MXBean) is enabled.booleanWhether read-through caching is enabled.booleanWhether statistics collection is enabled.booleanWhether the cache stores entries by value (copy) rather than by reference.booleanWhether 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).
-