Package org.restheart.cache.impl
Class HashMapLoadingCache<K,V>
java.lang.Object
org.restheart.cache.impl.HashMapLoadingCache<K,V>
- Type Parameters:
K- the class of the keys.V- the class of the values (is Optional-ized).
- All Implemented Interfaces:
Cache<K,,V> LoadingCache<K,V>
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.restheart.cache.Cache
Cache.EXPIRE_POLICY -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HashMapLoadingCache
-
-
Method Details
-
get
-
remove
-
getLoading
- Specified by:
getLoadingin interfaceLoadingCache<K,V>
-
put
-
invalidate
- Specified by:
invalidatein interfaceCache<K,V>
-
invalidateAll
public void invalidateAll()- Specified by:
invalidateAllin interfaceCache<K,V>
-
asMap
-
cleanUp
public void cleanUp()Description copied from interface:CachePerforms any pending maintenance operations needed by the cache.
-