Uses of Class
com.flagsmith.config.FlagsmithCacheConfig.Builder
Packages that use FlagsmithCacheConfig.Builder
-
Uses of FlagsmithCacheConfig.Builder in com.flagsmith.config
Methods in com.flagsmith.config that return FlagsmithCacheConfig.BuilderModifier and TypeMethodDescriptionFlagsmithCacheConfig.Builder.enableEnvLevelCaching(String envFlagsCacheKey) Enables caching for environment level flags.FlagsmithCacheConfig.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.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.Builder.maxSize(int maxSize) Specifies the maximum number of entries the cache may contain.static FlagsmithCacheConfig.BuilderFlagsmithCacheConfig.newBuilder()FlagsmithCacheConfig.Builder.recordStats()Enables the accumulation of CacheStats during the operation of the cache.