Class CacheMgr

  • public final class CacheMgr
    extends Object
    This class is a facade and shields internal Fortress objects from specifics of the actual cache implementation that is in use.
    Apache Directory Project
    • Method Detail

      • getInstance

        public static CacheMgr getInstance()
        Create or return the fortress cache manager reference.
        handle to the cache manager in effect for process.
      • getCache

        public Cache getCache​(String cacheName)
        Create a new reference to the ehcache cache implementation.
        cacheName - contains the name of the cache to retrieve
        reference to cache for specified object.
      • clearAll

        public void clearAll()
        Used to clear all elements from all cache objects.