Class AbstractCacheManager.CacheInfo

java.lang.Object
org.ametys.core.cache.AbstractCacheManager.CacheInfo
Enclosing class:
AbstractCacheManager

protected static final class AbstractCacheManager.CacheInfo extends Object
Encapsulation of name and description of a cache
  • Constructor Details

    • CacheInfo

      public CacheInfo(I18nizableText name, I18nizableText description, boolean isDispatchable)
      Create new CacheInfo with name and description
      Parameters:
      name - the name of the CacheInfo
      description - the description of the CacheInfo
      isDispatchable - true if the cache can be transmitted in sub-requests of DispatchGenerator
  • Method Details

    • getName

      Get the name of the CacheInfo
      Returns:
      the name of the CacheInfo
    • getDescription

      Get the description of the CacheInfo
      Returns:
      the description of the CacheInfo
    • isDispatchable

      public boolean isDispatchable()
      Can the cache be transmitted in sub-requests of DispatchGenerator
      Returns:
      true if the cache can be transmitted in sub-requests of DispatchGenerator