Uses of Class
com.flagsmith.config.FlagsmithCacheConfig.Builder
| Package | Description |
|---|---|
| com.flagsmith.config |
-
Uses of FlagsmithCacheConfig.Builder in com.flagsmith.config
Methods in com.flagsmith.config that return FlagsmithCacheConfig.Builder Modifier and Type Method Description FlagsmithCacheConfig.BuilderFlagsmithCacheConfig.Builder. enableEnvLevelCaching(String envFlagsCacheKey)Enables caching for environment level flags.FlagsmithCacheConfig.BuilderFlagsmithCacheConfig.Builder. expireAfterAccess(int duration, TimeUnit timeUnit)Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, the most recent replacement of its value, or its last read.FlagsmithCacheConfig.BuilderFlagsmithCacheConfig.Builder. expireAfterWrite(int duration, TimeUnit timeUnit)Specifies that each entry should be automatically removed from the cache once a fixed duration has elapsed after the entry's creation, or the most recent replacement of its value.FlagsmithCacheConfig.BuilderFlagsmithCacheConfig.Builder. maxSize(int maxSize)Specifies the maximum number of entries the cache may contain.static FlagsmithCacheConfig.BuilderFlagsmithCacheConfig. newBuilder()FlagsmithCacheConfig.BuilderFlagsmithCacheConfig.Builder. recordStats()Enables the accumulation of CacheStats during the operation of the cache.