Class EvictableCacheBuilder<K,V>

java.lang.Object
io.trino.cache.EvictableCacheBuilder<K,V>

public final class EvictableCacheBuilder<K,V> extends Object
Builder for Cache and LoadingCache instances, similar to CacheBuilder, but creating cache implementations that do not exhibit Guava issue #1881: a cache inspection with Cache.getIfPresent(Object) or Cache.get(Object, Callable) is guaranteed to return fresh state after Cache.invalidate(Object), Cache.invalidateAll(Iterable) or Cache.invalidateAll() were called.