
Uses of Enum Class
ca.uhn.fhir.jpa.util.MemoryCacheService.CacheEnum
Packages that use MemoryCacheService.CacheEnum
-
Uses of MemoryCacheService.CacheEnum in ca.uhn.fhir.jpa.util
Methods in ca.uhn.fhir.jpa.util that return MemoryCacheService.CacheEnumModifier and TypeMethodDescriptionstatic MemoryCacheService.CacheEnumReturns the enum constant of this class with the specified name.static MemoryCacheService.CacheEnum[]MemoryCacheService.CacheEnum.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in ca.uhn.fhir.jpa.util with parameters of type MemoryCacheService.CacheEnumModifier 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) longMemoryCacheService.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.<K,T> T MemoryCacheService.getThenPutAfterCommitIfNotNull(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.voidMemoryCacheService.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.