Class 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
    • Method Detail

      • onCacheClosed

        @Nullable
        public @Nullable CompletableFuture<Void> onCacheClosed​(org.cache2k.Cache cache)
        Specified by:
        onCacheClosed in interface org.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)
      • sanitizeName

        public static String sanitizeName​(String string)
        Filter illegal chars, same rule as in TCK or RI?