Package io.trino.plugin.base.cache
Interface NonKeyEvictableLoadingCache<K,V>
-
- All Superinterfaces:
com.google.common.cache.Cache<K,V>,com.google.common.base.Function<K,V>,Function<K,V>,com.google.common.cache.LoadingCache<K,V>
- All Known Subinterfaces:
NonEvictableLoadingCache<K,V>
public interface NonKeyEvictableLoadingCache<K,V> extends com.google.common.cache.LoadingCache<K,V>ALoadingCachethat does not support key-based eviction.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidinvalidate(Object key)Deprecated.Not supported.voidinvalidateAll()Invalidates all live entries in the cache.voidinvalidateAll(Iterable<?> keys)Deprecated.Not supported.
-
-
-
Method Detail
-
invalidate
@Deprecated void invalidate(Object key)
Deprecated.Not supported. UseEvictableLoadingCachecache implementation instead.
-
invalidateAll
@Deprecated void invalidateAll(Iterable<?> keys)
Deprecated.Not supported. UseEvictableLoadingCachecache implementation instead.
-
invalidateAll
void invalidateAll()
Invalidates all live entries in the cache. Ongoing loads may not be invalidated, so subsequent get from the cache is not guaranteed to return fresh state. Must not be relied on for correctness, but can be used for manual intervention, e.g. as a method exposed over JMX.
-
-