public final class DataStoreConfigImpl extends Object implements DataStoreConfig
| Constructor and Description |
|---|
DataStoreConfigImpl(List<DataStorePlugin> dataStorePlugins,
CacheManager cacheManager)
Constructeur.
|
| Modifier and Type | Method and Description |
|---|---|
CacheDataStoreConfig |
getCacheStoreConfig() |
String |
getConnectionName(String dataSpace) |
LogicalDataStoreConfig |
getLogicalStoreConfig() |
void |
registerCacheable(DtDefinition dtDefinition,
long timeToLiveInSeconds,
boolean isReloadedByList,
boolean serializeElements)
Register DtDefinition as Cacheable and define cache behaviors.
|
public DataStoreConfigImpl(List<DataStorePlugin> dataStorePlugins, CacheManager cacheManager)
dataStorePlugins - DataStorePlugins listcacheManager - Manager de gestion du cachepublic void registerCacheable(DtDefinition dtDefinition, long timeToLiveInSeconds, boolean isReloadedByList, boolean serializeElements)
registerCacheable in interface DataStoreConfigdtDefinition - Dt definitiontimeToLiveInSeconds - time to live in cacheisReloadedByList - Set if reload should be done by full list or one by one when missingserializeElements - Set if elements should be serialized or not (serialization guarantee elements are cloned and not modified)public CacheDataStoreConfig getCacheStoreConfig()
public LogicalDataStoreConfig getLogicalStoreConfig()
public String getConnectionName(String dataSpace)
getConnectionName in interface DataStoreConfigCopyright © 2016. All Rights Reserved.