@FunctionalInterface public interface CacheLoader<K,V> extends Function<K,V>
default V
apply(K key)
V
load(K key)
default Map<K,V>
loadAll(Set<K> keys)
default boolean
vetoCacheUpdate()
andThen, compose, identity
V load(K key) throws Throwable
Throwable
default Map<K,V> loadAll(Set<K> keys) throws Throwable
default V apply(K key)
apply
Function<K,V>
default boolean vetoCacheUpdate()
Copyright © 2013–2019. All rights reserved.