Class DefaultAppCacheManager

  • All Implemented Interfaces:
    com.appslandia.common.caching.AppCacheManager

    @ApplicationScoped
    public class DefaultAppCacheManager
    extends Object
    implements com.appslandia.common.caching.AppCacheManager
    Author:
    Loc Ha
    • Constructor Detail

      • DefaultAppCacheManager

        public DefaultAppCacheManager()
    • Method Detail

      • getCache

        public <K,​V> com.appslandia.common.caching.AppCache<K,​V> getCache​(String cacheName)
        Specified by:
        getCache in interface com.appslandia.common.caching.AppCacheManager
      • clearCache

        public boolean clearCache​(String cacheName)
        Specified by:
        clearCache in interface com.appslandia.common.caching.AppCacheManager
      • destroyCache

        public boolean destroyCache​(String cacheName)
        Specified by:
        destroyCache in interface com.appslandia.common.caching.AppCacheManager
      • getCacheNames

        public Iterable<String> getCacheNames()
        Specified by:
        getCacheNames in interface com.appslandia.common.caching.AppCacheManager
      • close

        public void close()
        Specified by:
        close in interface com.appslandia.common.caching.AppCacheManager