Uses of Interface
com.clickhouse.client.ClickHouseCache
-
Packages that use ClickHouseCache Package Description com.clickhouse.client Provides necessary classes to communicate with ClickHouse server.com.clickhouse.client.cache -
-
Uses of ClickHouseCache in com.clickhouse.client
Methods in com.clickhouse.client that return ClickHouseCache Modifier and Type Method Description static <K,V>
ClickHouseCache<K,V>ClickHouseCache. create(int capacity, long expireSeconds, Function<K,V> loadFunc)Creates a cache with specific capacity and load function. -
Uses of ClickHouseCache in com.clickhouse.client.cache
Classes in com.clickhouse.client.cache that implement ClickHouseCache Modifier and Type Class Description classCaffeineCache<K,V>Cache based on Caffeine implementation.classJdkLruCache<K,V>A simple thread-safe LRU cache based on LinkedHashMap.Methods in com.clickhouse.client.cache that return ClickHouseCache Modifier and Type Method Description static <K,V>
ClickHouseCache<K,V>CaffeineCache. create(int capacity, long expireSeconds, Function<K,V> loadFunc)Creates a cache with given capacity, seconds to expire(after access), and load function.static <K,V>
ClickHouseCache<K,V>JdkLruCache. create(int capacity, Function<K,V> loadFunc)Creates a cache with given capacity and load function.
-