Class FutureMap<K extends Serializable,V,C>
java.lang.Object
org.exoplatform.commons.cache.future.FutureCache<K,V,C>
org.exoplatform.commons.cache.future.FutureMap<K,V,C>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()protected VRetrieves the cached value corresponding to the specified key from the cache, it must returns null when the key does not exist.getKeys()protected voidUpdates the cache with a new key/value pair.protected voidUpdates the cache only local mode with a new key/value pair.voidMethods inherited from class org.exoplatform.commons.cache.future.FutureCache
get
-
Constructor Details
-
FutureMap
-
-
Method Details
-
getKeys
-
clear
public void clear() -
remove
-
get
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
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 keyvalue- the cache value
-
putOnly
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
-