Class AbstractCoherenceBasedCache<K,​V,​C extends CoherenceBasedConfiguration<K,​V>>

    • Method Detail

      • close

        public void close()
        Specified by:
        close in interface AutoCloseable
        Specified by:
        close in interface javax.cache.Cache<K,​V>
        Specified by:
        close in interface Closeable
      • getConfiguration

        public <T extends javax.cache.configuration.Configuration<K,​V>> T getConfiguration​(Class<T> clz)
        Specified by:
        getConfiguration in interface javax.cache.Cache<K,​V>
      • getName

        public String getName()
        Specified by:
        getName in interface javax.cache.Cache<K,​V>
      • getCacheManager

        public javax.cache.CacheManager getCacheManager()
        Specified by:
        getCacheManager in interface javax.cache.Cache<K,​V>
      • isClosed

        public boolean isClosed()
        Specified by:
        isClosed in interface javax.cache.Cache<K,​V>
      • unwrap

        public <T> T unwrap​(Class<T> clz)
        Specified by:
        unwrap in interface javax.cache.Cache<K,​V>
      • onBeforeClosing

        public abstract void onBeforeClosing()
        Closes a CoherenceBasedCache at the request of a call to Cache.close().
      • getMBean

        public abstract javax.cache.management.CacheMXBean getMBean()
        Get JMX Bean associated with Cache.
        Returns:
        JMX Bean
      • getStatistics

        public abstract JCacheStatistics getStatistics()
        Get JCache Statistics associated with Cache.
        Returns:
        JCache Statistics if exist or null.
      • setManagementEnabled

        public abstract void setManagementEnabled​(boolean fEnabled)
        Set JCache Management status.
        Parameters:
        fEnabled - true to enable
      • setStatisticsEnabled

        public abstract void setStatisticsEnabled​(boolean fEnabled)
        Set JCache statistics status
        Parameters:
        fEnabled - true to enable
      • isStatisticsEnabled

        public abstract boolean isStatisticsEnabled()
        Get JCache Statistics status
        Returns:
        true if enabled, otherwise false