Class CacheDataStoreConfig
- java.lang.Object
- 
- io.vertigo.datastore.impl.entitystore.cache.CacheDataStoreConfig
 
- 
 public final class CacheDataStoreConfig extends Object Configuration des données mises en cache.- Author:
- pchretien
 
- 
- 
Constructor SummaryConstructors Constructor Description CacheDataStoreConfig(CacheManager cacheManager)Constructor.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidregisterCacheable(DtDefinition dtDefinition, boolean isReloadedByList)Register a Dtdefinition as cacheable and define cache behaviors.
 
- 
- 
- 
Constructor Detail- 
CacheDataStoreConfigpublic CacheDataStoreConfig(CacheManager cacheManager) Constructor.- Parameters:
- cacheManager- Cache manager
 
 
- 
 - 
Method Detail- 
registerCacheablepublic void registerCacheable(DtDefinition dtDefinition, boolean isReloadedByList) Register a Dtdefinition as cacheable and define cache behaviors.- Parameters:
- dtDefinition- DT definition
- timeToLiveInSeconds- time to live in cache
- isReloadedByList- On reload, elements should be load by full list or only missing ones
- serializeElements- Elements should be serialized to guarantee there aren't modified
 
 
- 
 
-