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 Summary
Constructors Constructor Description CacheDataStoreConfig(CacheManager cacheManager)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
registerCacheable(DtDefinition dtDefinition, boolean isReloadedByList)
Register a Dtdefinition as cacheable and define cache behaviors.
-
-
-
Constructor Detail
-
CacheDataStoreConfig
public CacheDataStoreConfig(CacheManager cacheManager)
Constructor.- Parameters:
cacheManager
- Cache manager
-
-
Method Detail
-
registerCacheable
public void registerCacheable(DtDefinition dtDefinition, boolean isReloadedByList)
Register a Dtdefinition as cacheable and define cache behaviors.- Parameters:
dtDefinition
- DT definitiontimeToLiveInSeconds
- time to live in cacheisReloadedByList
- On reload, elements should be load by full list or only missing onesserializeElements
- Elements should be serialized to guarantee there aren't modified
-
-