Package ca.uhn.fhir.sl.cache
Interface Cache<K,V>
- All Known Subinterfaces:
LoadingCache<K,V>
public interface Cache<K,V>
This interface is a blend between
Caffeine's Cache and
Guava's Cache.
Please check their documentation for information in the methods below.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcleanUp()longgetAllPresent(Iterable<? extends K> keys) getIfPresent(K key) voidinvalidate(K key) voidvoidinvalidateAll(Iterable<? extends K> keys) voidvoid
-
Method Details
-
getIfPresent
-
get
-
getAllPresent
-
put
-
putAll
-
invalidate
-
invalidateAll
-
invalidateAll
void invalidateAll() -
estimatedSize
long estimatedSize() -
cleanUp
void cleanUp()
-