Package org.restheart.cache
Interface Cache<K,V>
- Type Parameters:
K- the class of the keysV- the class of the values
- All Known Subinterfaces:
LoadingCache<K,V>
- All Known Implementing Classes:
CaffeineCache,CaffeineLoadingCache,HashMapLoadingCache
public interface Cache<K,V>
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
-
Nested Class Summary
Nested Classes -
Method Summary
-
Method Details
-
get
-
remove
-
put
-
cleanUp
void cleanUp()Performs any pending maintenance operations needed by the cache. -
invalidate
-
invalidateAll
void invalidateAll() -
asMap
-