public class FutureExoCache<K extends Serializable,V,C> extends FutureCache<K,V,C>
| Constructor and Description |
|---|
FutureExoCache(org.exoplatform.commons.cache.future.Loader<K,V,C> loader,
org.exoplatform.services.cache.ExoCache<K,V> cache) |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
protected V |
get(K key)
Retrieves the cached value corresponding to the specified key from the cache, it must returns null when the
key does not exist.
|
protected void |
put(K key,
V entry)
Updates the cache with a new key/value pair.
|
protected void |
putOnly(K key,
V value)
Updates the cache only local mode with a new key/value pair.
|
void |
remove(K key) |
getpublic void clear()
public void remove(K key)
protected V get(K key)
FutureCacheget in class FutureCache<K extends Serializable,V,C>key - the keyprotected void put(K key, V entry)
FutureCacheput in class FutureCache<K extends Serializable,V,C>key - the keyentry - the cache valueprotected void putOnly(K key, V value)
FutureCacheputOnly in class FutureCache<K extends Serializable,V,C>key - the keyvalue - the cache valueCopyright © 2003–2019 eXo Platform SAS. All rights reserved.