@FunctionalInterface public interface Cache<K,V>
Modifier and Type | Interface and Description |
---|---|
static class |
Cache.Factories |
Modifier and Type | Method and Description |
---|---|
static <K,V> Cache<K,V> |
create(CacheParameters<K,V> cacheParameters) |
static <K,V> Cache<K,V> |
create(CacheParameters<K,V> cacheParameters,
Class<? extends CacheFactory> factoryClass) |
static <K,V> Cache<K,V> |
create(Function<? super K,? extends V> loadingFunction) |
V |
get(K key) |
static <K,V> Cache<K,V> create(CacheParameters<K,V> cacheParameters)
static <K,V> Cache<K,V> create(CacheParameters<K,V> cacheParameters, Class<? extends CacheFactory> factoryClass)
Copyright © 2013-2018–2019 SeedStack. All rights reserved.