Class ApplicationCacheService

  • All Implemented Interfaces:
    CacheService

    public class ApplicationCacheService
    extends Object
    implements CacheService
    A service to handle a cache whose lifetime is over the whole application runtime.
    Author:
    mmoquillon
    • Constructor Detail

      • ApplicationCacheService

        protected ApplicationCacheService()
    • Method Detail

      • getCache

        public Cache getCache()
        Description copied from interface: CacheService
        Gets a cache from this service.
        Specified by:
        getCache in interface CacheService
        Returns:
        either a new cache or a single one according to the policy of the service about the cache(s) on which it works.
      • clearAllCaches

        public void clearAllCaches()
        Description copied from interface: CacheService
        Clears all the caches on which this service works.
        Specified by:
        clearAllCaches in interface CacheService