Class CacheRefresher<K,V>

java.lang.Object
org.apache.cassandra.auth.CacheRefresher<K,V>
All Implemented Interfaces:
Runnable

public class CacheRefresher<K,V> extends Object implements Runnable
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable
    • 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)