Class JCacheConfigMXBeanImpl

java.lang.Object
com.loomcache.server.jcache.JCacheConfigMXBeanImpl
All Implemented Interfaces:
JCacheConfigMXBean

public final class JCacheConfigMXBeanImpl extends Object implements JCacheConfigMXBean
Thread-safe implementation of JCacheConfigMXBean backed by a LoomJCache and its runtime management flags.
Since:
2.0
  • Constructor Details

    • JCacheConfigMXBeanImpl

      public JCacheConfigMXBeanImpl(LoomJCache<?,?> cache)
      Create a configuration MXBean backed by the given cache config.
      Parameters:
      cache - the cache owning this MXBean (must not be null)
    • JCacheConfigMXBeanImpl

      public JCacheConfigMXBeanImpl(LoomJCacheConfig<?,?> config)
      Create a configuration MXBean backed by a static config snapshot.
      Parameters:
      config - the immutable cache configuration (must not be null)
  • Method Details