Uses of Enum
ca.uhn.fhir.jpa.util.MemoryCacheService.CacheEnum
-
Uses of MemoryCacheService.CacheEnum in ca.uhn.fhir.jpa.util
Modifier and TypeMethodDescriptionstatic MemoryCacheService.CacheEnum
Returns the enum constant of this type with the specified name.static MemoryCacheService.CacheEnum[]
MemoryCacheService.CacheEnum.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionprotected <K,
T> T MemoryCacheService.doGet
(MemoryCacheService.CacheEnum theCache, K theKey, Function<K, T> theSupplier) protected <K,
V> Map <K, V> MemoryCacheService.doGetAllPresent
(MemoryCacheService.CacheEnum theCache, Collection<K> theKeys) protected <K,
V> V MemoryCacheService.doGetIfPresent
(MemoryCacheService.CacheEnum theCache, K theKey) protected <K,
V> void MemoryCacheService.doPut
(MemoryCacheService.CacheEnum theCache, K theKey, V theValue) <K,
T> T MemoryCacheService.get
(MemoryCacheService.CacheEnum theCache, K theKey, Function<K, T> theSupplier) <K,
V> Map <K, V> MemoryCacheService.getAllPresent
(MemoryCacheService.CacheEnum theCache, Collection<K> theKeys) long
MemoryCacheService.getEstimatedSize
(MemoryCacheService.CacheEnum theCache) <K,
V> V MemoryCacheService.getIfPresent
(MemoryCacheService.CacheEnum theCache, K theKey) <K,
T> T MemoryCacheService.getThenPutAfterCommit
(MemoryCacheService.CacheEnum theCache, K theKey, Function<K, T> theSupplier) Fetch an item from the cache if it exists, and use the loading function to obtain it otherwise.void
MemoryCacheService.invalidateCaches
(MemoryCacheService.CacheEnum... theCaches) <K,
V> void MemoryCacheService.put
(MemoryCacheService.CacheEnum theCache, K theKey, V theValue) <K,
V> void MemoryCacheService.putAfterCommit
(MemoryCacheService.CacheEnum theCache, K theKey, V theValue) This method registers a transaction synchronization that puts an entry in the cache if and when the current database transaction successfully commits.