Package org.cache2k.jcache.provider
Class JCacheJmxSupport
- java.lang.Object
-
- org.cache2k.jcache.provider.JCacheJmxSupport
-
- All Implemented Interfaces:
EventListener,org.cache2k.event.CacheClosedListener,org.cache2k.event.CacheLifecycleListener
public class JCacheJmxSupport extends Object implements org.cache2k.event.CacheClosedListener
- Author:
- Jens Wilke
-
-
Field Summary
Fields Modifier and Type Field Description static JCacheJmxSupportSINGLETON
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringcreateJmxObjectName(org.cache2k.Cache cache)StringcreateStatisticsObjectName(org.cache2k.Cache cache)voiddisableJmx(org.cache2k.Cache c)voiddisableStatistics(org.cache2k.Cache c)voidenableJmx(org.cache2k.Cache c, javax.cache.Cache ca)voidenableStatistics(JCacheAdapter c)@Nullable CompletableFuture<Void>onCacheClosed(org.cache2k.Cache cache)static StringsanitizeName(String string)Filter illegal chars, same rule as in TCK or RI?
-
-
-
Field Detail
-
SINGLETON
public static final JCacheJmxSupport SINGLETON
-
-
Method Detail
-
onCacheClosed
@Nullable public @Nullable CompletableFuture<Void> onCacheClosed(org.cache2k.Cache cache)
- Specified by:
onCacheClosedin interfaceorg.cache2k.event.CacheClosedListener
-
enableStatistics
public void enableStatistics(JCacheAdapter c)
-
disableStatistics
public void disableStatistics(org.cache2k.Cache c)
-
enableJmx
public void enableJmx(org.cache2k.Cache c, javax.cache.Cache ca)
-
disableJmx
public void disableJmx(org.cache2k.Cache c)
-
createStatisticsObjectName
public String createStatisticsObjectName(org.cache2k.Cache cache)
-
createJmxObjectName
public String createJmxObjectName(org.cache2k.Cache cache)
-
-