Class CacheDataStoreConfig


  • public final class CacheDataStoreConfig
    extends Object
    Configuration des données mises en cache.
    Author:
    pchretien
    • 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 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