Uses of Class
org.elasticsearch.common.cache.CacheBuilder
-
Packages that use CacheBuilder Package Description org.elasticsearch.common.cache -
-
Uses of CacheBuilder in org.elasticsearch.common.cache
Methods in org.elasticsearch.common.cache that return CacheBuilder Modifier and Type Method Description static <K,V>
CacheBuilder<K,V>CacheBuilder. builder()CacheBuilder<K,V>CacheBuilder. removalListener(RemovalListener<K,V> removalListener)CacheBuilder<K,V>CacheBuilder. setExpireAfterAccess(TimeValue expireAfterAccess)Sets the amount of time before an entry in the cache expires after it was last accessed.CacheBuilder<K,V>CacheBuilder. setExpireAfterWrite(TimeValue expireAfterWrite)Sets the amount of time before an entry in the cache expires after it was written.CacheBuilder<K,V>CacheBuilder. setMaximumWeight(long maximumWeight)CacheBuilder<K,V>CacheBuilder. weigher(ToLongBiFunction<K,V> weigher)
-