Class FutureExoCache<K extends Serializable,V,C>
- java.lang.Object
-
- org.exoplatform.commons.notification.impl.service.storage.cache.FutureCache<K,V,C>
-
- org.exoplatform.commons.notification.impl.service.storage.cache.FutureExoCache<K,V,C>
-
public class FutureExoCache<K extends Serializable,V,C> extends FutureCache<K,V,C>
- Version:
- $Revision$
- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()protected Vget(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 voidput(K key, V entry)Updates the cache with a new key/value pair.protected voidputOnly(K key, V value)Updates the cache only local mode with a new key/value pair.voidremove(K key)-
Methods inherited from class org.exoplatform.commons.notification.impl.service.storage.cache.FutureCache
get
-
-
-
-
Method Detail
-
clear
public void clear()
-
remove
public void remove(K key)
-
get
protected V get(K key)
Description copied from class:FutureCacheRetrieves the cached value corresponding to the specified key from the cache, it must returns null when the key does not exist. This method is intended for internal use by the future cache only.- Specified by:
getin classFutureCache<K extends Serializable,V,C>- Parameters:
key- the key- Returns:
- the cache value
-
put
protected void put(K key, V entry)
Description copied from class:FutureCacheUpdates the cache with a new key/value pair. This method is intended for internal use by the future cache only.- Specified by:
putin classFutureCache<K extends Serializable,V,C>- Parameters:
key- the keyentry- the cache value
-
putOnly
protected void putOnly(K key, V value)
Description copied from class:FutureCacheUpdates the cache only local mode with a new key/value pair. This method is intended for internal use by the future cache only.- Specified by:
putOnlyin classFutureCache<K extends Serializable,V,C>- Parameters:
key- the keyvalue- the cache value
-
-