Package org.apache.cassandra.auth
Class CacheRefresher<K,V>
java.lang.Object
org.apache.cassandra.auth.CacheRefresher<K,V>
- All Implemented Interfaces:
Runnable
-
Method Summary
Modifier and TypeMethodDescriptionstatic <K,V> CacheRefresher<K, V> create(String name, com.github.benmanes.caffeine.cache.LoadingCache<K, V> cache, BiPredicate<K, V> invalidationCondition) static <K,V> CacheRefresher<K, V> create(String name, com.github.benmanes.caffeine.cache.LoadingCache<K, V> cache, BiPredicate<K, V> invalidationCondition, BooleanSupplier skipCondition) voidrun()
-
Method Details
-
run
public void run() -
create
public static <K,V> CacheRefresher<K,V> create(String name, com.github.benmanes.caffeine.cache.LoadingCache<K, V> cache, BiPredicate<K, V> invalidationCondition, BooleanSupplier skipCondition) -
create
public static <K,V> CacheRefresher<K,V> create(String name, com.github.benmanes.caffeine.cache.LoadingCache<K, V> cache, BiPredicate<K, V> invalidationCondition)
-