| Modifier and Type | Method and Description |
|---|---|
FlagsmithCacheConfig.Builder |
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 |
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 |
FlagsmithCacheConfig.Builder.maxSize(int maxSize)
Specifies the maximum number of entries the cache may contain.
|
static FlagsmithCacheConfig.Builder |
FlagsmithCacheConfig.newBuilder() |
FlagsmithCacheConfig.Builder |
FlagsmithCacheConfig.Builder.recordStats()
Enables the accumulation of CacheStats during the operation of the cache.
|
Copyright © 2021. All rights reserved.