public class Cache<K,V> extends Object
| Constructor and Description | 
|---|
Cache(CacheConfig config,
     com.google.common.cache.CacheLoader<K,V> cacheLoader)  | 
| Modifier and Type | Method and Description | 
|---|---|
V | 
get(K key)  | 
V | 
getIfCached(K key)  | 
void | 
invalidateAll()  | 
void | 
put(K key,
   V value)  | 
void | 
refresh(K key)  | 
public Cache(CacheConfig config, com.google.common.cache.CacheLoader<K,V> cacheLoader)
public V get(K key) throws ExecutionException
ExecutionExceptionpublic void invalidateAll()
public void refresh(K key)
Copyright © 2020. All rights reserved.