public final class CacheDataStoreConfig extends Object
| Constructor and Description |
|---|
CacheDataStoreConfig(CacheManager cacheManager)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
registerCacheable(DtDefinition dtDefinition,
long timeToLiveInSeconds,
boolean isReloadedByList,
boolean serializeElements)
Register a Dtdefinition as cacheable and define cache behaviors.
|
public CacheDataStoreConfig(CacheManager cacheManager)
cacheManager - Cache managerpublic void registerCacheable(DtDefinition dtDefinition, long timeToLiveInSeconds, boolean isReloadedByList, boolean serializeElements)
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 modifiedCopyright © 2016. All Rights Reserved.