Package org.ametys.core.cache
Class AbstractCacheManager.CacheInfo
java.lang.Object
org.ametys.core.cache.AbstractCacheManager.CacheInfo
- Enclosing class:
- AbstractCacheManager
Encapsulation of name and description of a cache
-
Constructor Summary
ConstructorsConstructorDescriptionCacheInfo(I18nizableText name, I18nizableText description, boolean isDispatchable) Create new CacheInfo with name and description -
Method Summary
Modifier and TypeMethodDescriptionGet the description of the CacheInfogetName()Get the name of the CacheInfobooleanCan the cache be transmitted in sub-requests of DispatchGenerator
-
Constructor Details
-
CacheInfo
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 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
Can the cache be transmitted in sub-requests of DispatchGenerator- Returns:
- true if the cache can be transmitted in sub-requests of DispatchGenerator
-