Package com.suncode.pwfl.cache
Class InMemoryCacheConfig.Builder<K,V>
java.lang.Object
com.suncode.pwfl.cache.InMemoryCacheConfig.Builder<K,V>
- Enclosing class:
- InMemoryCacheConfig<K,
V>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
concurrencyLevel
(Integer concurrencyLevel) expireAfterRead
(Duration expireAfterRead) expireAfterWrite
(Duration expireAfterWrite) loadFunction
(Function<? super K, ? extends V> loadFunction) maximumSize
(Long maximumSize) maximumWeight
(Long maximumWeight)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maximumSize
-
expireAfterWrite
-
loadFunction
-
expireAfterRead
-
maximumWeight
-
concurrencyLevel
-
weigher
-
build
-