Package org.ametys.core.cache
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 Summary
Constructors Constructor Description CacheInfo(I18nizableText name, I18nizableText description, boolean isDispatchable)Create new CacheInfo with name and description 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I18nizableTextgetDescription()Get the description of the CacheInfoI18nizableTextgetName()Get the name of the CacheInfobooleanisDispatchable()Can the cache be transmitted in sub-requests of DispatchGenerator 
 - 
 
- 
- 
Constructor Detail
- 
CacheInfo
public CacheInfo(I18nizableText name, I18nizableText description, boolean isDispatchable)
Create new CacheInfo with name and description- Parameters:
 name- the name of the CacheInfodescription- the description of the CacheInfoisDispatchable- true if the cache can be transmitted in sub-requests of DispatchGenerator
 
 - 
 
- 
Method Detail
- 
getName
public I18nizableText getName()
Get the name of the CacheInfo- Returns:
 - the name of the CacheInfo
 
 
- 
getDescription
public I18nizableText 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
 
 
 - 
 
 -