Index
All Classes and Interfaces|All Packages
B
- build() - Method in class io.trino.cache.EvictableCacheBuilder
- build(CacheLoader<? super K1, V1>) - Method in class io.trino.cache.EvictableCacheBuilder
- buildNonEvictableCache(CacheBuilder<? super K, ? super V>) - Static method in class io.trino.cache.SafeCaches
- buildNonEvictableCache(CacheBuilder<? super K, ? super V>, CacheLoader<? super K, V>) - Static method in class io.trino.cache.SafeCaches
- buildNonEvictableCacheWithWeakInvalidateAll(CacheBuilder<? super K, ? super V>) - Static method in class io.trino.cache.SafeCaches
-
Builds a cache that supports
Cache.invalidateAll()with best-effort semantics: there is no guarantee that cache is empty afterinvalidateAll()returns, or that subsequent read will not see stale state. - buildNonEvictableCacheWithWeakInvalidateAll(CacheBuilder<? super K, ? super V>, CacheLoader<? super K, V>) - Static method in class io.trino.cache.SafeCaches
-
Builds a cache that supports
Cache.invalidateAll()with best-effort semantics: there is no guarantee that cache is empty afterinvalidateAll()returns, or that subsequent read will not see stale state.
C
- CacheUtils - Class in io.trino.cache
- concurrencyLevel(int) - Method in class io.trino.cache.EvictableCacheBuilder
E
- EvictableCacheBuilder<K,
V> - Class in io.trino.cache -
Builder for
CacheandLoadingCacheinstances, similar toCacheBuilder, but creating cache implementations that do not exhibit Guava issue #1881: a cache inspection withCache.getIfPresent(Object)orCache.get(Object, Callable)is guaranteed to return fresh state afterCache.invalidate(Object),Cache.invalidateAll(Iterable)orCache.invalidateAll()were called. - expireAfterWrite(long, TimeUnit) - Method in class io.trino.cache.EvictableCacheBuilder
- expireAfterWrite(Duration) - Method in class io.trino.cache.EvictableCacheBuilder
I
- invalidate(Object) - Method in interface io.trino.cache.NonEvictableCache
-
Deprecated.
- invalidate(Object) - Method in interface io.trino.cache.NonKeyEvictableCache
-
Deprecated.Not supported. Use
EvictableCachecache implementation instead. - invalidate(Object) - Method in interface io.trino.cache.NonKeyEvictableLoadingCache
-
Deprecated.Not supported. Use
EvictableCacheBuilderto build a cache instead. - invalidateAll() - Method in interface io.trino.cache.NonEvictableCache
-
Deprecated.Not supported. Use
EvictableCachecache implementation instead. - invalidateAll() - Method in interface io.trino.cache.NonEvictableLoadingCache
-
Deprecated.Not supported. Use
EvictableCacheBuilderto build a cache instead. - invalidateAll() - Method in interface io.trino.cache.NonKeyEvictableCache
-
Invalidates all live entries in the cache.
- invalidateAll() - Method in interface io.trino.cache.NonKeyEvictableLoadingCache
-
Invalidates all live entries in the cache.
- invalidateAll(Iterable<?>) - Method in interface io.trino.cache.NonEvictableCache
-
Deprecated.Not supported. Use
EvictableCachecache implementation instead. - invalidateAll(Iterable<?>) - Method in interface io.trino.cache.NonKeyEvictableCache
-
Deprecated.Not supported. Use
EvictableCachecache implementation instead. - invalidateAll(Iterable<?>) - Method in interface io.trino.cache.NonKeyEvictableLoadingCache
-
Deprecated.Not supported. Use
EvictableCacheBuilderto build a cache instead. - invalidateAllIf(Cache<K, ?>, Predicate<? super K>) - Static method in class io.trino.cache.CacheUtils
- io.trino.cache - package io.trino.cache
M
- maximumSize(long) - Method in class io.trino.cache.EvictableCacheBuilder
- maximumWeight(long) - Method in class io.trino.cache.EvictableCacheBuilder
N
- newBuilder() - Static method in class io.trino.cache.EvictableCacheBuilder
- NonEvictableCache<K,
V> - Interface in io.trino.cache -
A
Cachethat does not support eviction. - NonEvictableLoadingCache<K,
V> - Interface in io.trino.cache -
A
LoadingCachethat does not support eviction. - NonKeyEvictableCache<K,
V> - Interface in io.trino.cache -
A
Cachethat does not support key-based eviction. - NonKeyEvictableLoadingCache<K,
V> - Interface in io.trino.cache -
A
LoadingCachethat does not support key-based eviction.
R
- recordStats() - Method in class io.trino.cache.EvictableCacheBuilder
- refreshAfterWrite(long, TimeUnit) - Method in class io.trino.cache.EvictableCacheBuilder
- refreshAfterWrite(Duration) - Method in class io.trino.cache.EvictableCacheBuilder
S
- SafeCaches - Class in io.trino.cache
- shareNothingWhenDisabled() - Method in class io.trino.cache.EvictableCacheBuilder
-
Choose a behavior for case when caching is disabled that prevents data and failure sharing between concurrent callers.
- shareResultsAndFailuresEvenIfDisabled() - Method in class io.trino.cache.EvictableCacheBuilder
-
Choose a behavior for case when caching is disabled that may allow data and failure sharing between concurrent callers.
T
- ticker(Ticker) - Method in class io.trino.cache.EvictableCacheBuilder
-
Pass-through for
CacheBuilder.ticker(Ticker).
U
- uncheckedCacheGet(Cache<K, V>, K, Supplier<V>) - Static method in class io.trino.cache.CacheUtils
- unsafeInvalidate(Object) - Method in interface io.trino.cache.NonKeyEvictableLoadingCache
-
Deprecated.
W
- weigher(Weigher<? super K1, ? super V1>) - Method in class io.trino.cache.EvictableCacheBuilder
All Classes and Interfaces|All Packages
EvictableCachecache implementation instead.