- build
Builds a cache, which either returns an already-loaded value for a given key or
atomically computes
- maximumSize
Specifies the maximum number of entries the cache may contain. Note that the
cache may evict an entr
- newBuilder
Constructs a new CacheBuilder instance with default settings, including strong
keys, strong values,
- expireAfterAccess
Specifies that each entry should be automatically removed from the cache once a
fixed duration has e
- expireAfterWrite
Specifies that each entry should be automatically removed from the cache once a
fixed duration has e
- maximumWeight
Specifies the maximum weight of entries the cache may contain. Weight is
determined using the Weighe
- weigher
Specifies the weigher to use in determining the weight of entries. Entry weight
is taken into consid
- checkNonLoadingCache
- checkWeightWithWeigher
- concurrencyLevel
Guides the allowed concurrency among update operations. Used as a hint for
internal sizing. The tabl
- getConcurrencyLevel
- getExpireAfterAccessNanos