@Override
    public V get(K key) {
        return cache.computeIfAbsent(key, loadFunc);
    }
Creates a cache with given capacity and load function.

@param <K>      type of the key
@param <V>      type of the value
@param capacity capacity
@param loadFunc load function
@return cache
clickhouse-data/src/main/java/com/clickhouse/data/cache/JdkLruCache.java