Class JCacheMXBean
- java.lang.Object
-
- com.github.benmanes.caffeine.jcache.management.JCacheMXBean
-
- All Implemented Interfaces:
CacheMXBean
public final class JCacheMXBean extends Object implements CacheMXBean
The Caffeine JCache management bean.
-
-
Constructor Summary
Constructors Constructor Description JCacheMXBean(Cache<?,?> cache)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetKeyType()StringgetValueType()booleanisManagementEnabled()booleanisReadThrough()booleanisStatisticsEnabled()booleanisStoreByValue()booleanisWriteThrough()
-
-
-
Constructor Detail
-
JCacheMXBean
public JCacheMXBean(Cache<?,?> cache)
-
-
Method Detail
-
getKeyType
public String getKeyType()
- Specified by:
getKeyTypein interfaceCacheMXBean
-
getValueType
public String getValueType()
- Specified by:
getValueTypein interfaceCacheMXBean
-
isReadThrough
public boolean isReadThrough()
- Specified by:
isReadThroughin interfaceCacheMXBean
-
isWriteThrough
public boolean isWriteThrough()
- Specified by:
isWriteThroughin interfaceCacheMXBean
-
isStoreByValue
public boolean isStoreByValue()
- Specified by:
isStoreByValuein interfaceCacheMXBean
-
isStatisticsEnabled
public boolean isStatisticsEnabled()
- Specified by:
isStatisticsEnabledin interfaceCacheMXBean
-
isManagementEnabled
public boolean isManagementEnabled()
- Specified by:
isManagementEnabledin interfaceCacheMXBean
-
-