Package io.trino.cache
Interface NonEvictableLoadingCache<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> NonKeyEvictableLoadingCache<K,V>
A
LoadingCache that does not support eviction.-
Method Summary
Methods inherited from interface com.google.common.cache.Cache
cleanUp, get, getAllPresent, getIfPresent, put, putAll, size, statsMethods inherited from interface com.google.common.base.Function
equalsMethods inherited from interface com.google.common.cache.LoadingCache
apply, asMap, get, getAll, getUnchecked, refreshMethods inherited from interface io.trino.cache.NonKeyEvictableLoadingCache
invalidate, invalidateAll, unsafeInvalidate
-
Method Details
-
invalidateAll
Deprecated.Not supported. UseEvictableCacheBuilderto build a cache instead.Description copied from interface:NonKeyEvictableLoadingCacheInvalidates 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.- Specified by:
invalidateAllin interfacecom.google.common.cache.Cache<K,V> - Specified by:
invalidateAllin interfaceNonKeyEvictableLoadingCache<K,V>
-