Uses of Class
com.sap.cloud.sdk.cloudplatform.cache.CacheKey
Package
Description
-
Uses of CacheKey in com.sap.cloud.sdk.cloudplatform.cache
Modifier and TypeMethodDescriptionAppends the given Objects to this instance.static CacheKey
Constructs a newCacheKey
instance for the giventenantId
andprincipalId
, independent of whether they arenull
or not.static CacheKey
Constructs aCacheKey
for the given tenant and principal identifier, independent of whether they arenull
or not.static CacheKey
CacheKey.ofNoIsolation()
Constructs an instance ofCacheKey
without tenant or principal isolation.static CacheKey
CacheKey.ofTenantAndPrincipalIsolation()
Constructs a tenant- and principal-isolated instance ofCacheKey
.static CacheKey
CacheKey.ofTenantAndPrincipalOptionalIsolation()
Constructs a tenant- and principal-optional-isolated instance ofCacheKey
.static CacheKey
CacheKey.ofTenantIsolation()
Constructs a tenant-isolated instance ofCacheKey
.static CacheKey
CacheKey.ofTenantOptionalIsolation()
Constructs a tenant-optional-isolated instance ofCacheKey
.Modifier and TypeMethodDescriptionstatic com.google.common.collect.ImmutableList<com.github.benmanes.caffeine.cache.Cache<CacheKey,
?>> CacheManager.getCacheList()
Getter for a list of all caches registered in theCacheManager
.static <T> com.github.benmanes.caffeine.cache.Cache<CacheKey,
T> Registers a cache at in theCacheManager
.static <T> com.github.benmanes.caffeine.cache.Cache<CacheKey,
T> CacheManager.unregister
(com.github.benmanes.caffeine.cache.Cache<CacheKey, T> cache) Unregisters a cache from theCacheManager
.Modifier and TypeMethodDescriptionstatic long
CacheManager.invalidatePrincipalEntries
(com.github.benmanes.caffeine.cache.Cache<CacheKey, ?> cache) Invalidates all cache entries of the current tenant-specific principal.static long
CacheManager.invalidatePrincipalEntries
(String tenantId, String principalId, com.github.benmanes.caffeine.cache.Cache<CacheKey, ?> cache) Invalidates all cache entries of the given tenant-specific principal.static <T> com.github.benmanes.caffeine.cache.Cache<CacheKey,
T> Registers a cache at in theCacheManager
.static <T> com.github.benmanes.caffeine.cache.Cache<CacheKey,
T> CacheManager.unregister
(com.github.benmanes.caffeine.cache.Cache<CacheKey, T> cache) Unregisters a cache from theCacheManager
. -
Uses of CacheKey in com.sap.cloud.sdk.cloudplatform.connectivity
Modifier and TypeMethodDescriptionprotected abstract io.vavr.control.Try<com.github.benmanes.caffeine.cache.Cache<CacheKey,
org.apache.http.client.HttpClient>> AbstractHttpClientCache.getCache()
Getter for the cache to be used.protected io.vavr.control.Try<com.github.benmanes.caffeine.cache.Cache<CacheKey,
org.apache.http.client.HttpClient>> DefaultHttpClientCache.getCache()
protected abstract io.vavr.control.Try<CacheKey>
AbstractHttpClientCache.getCacheKey()
Method called in the#getClient(HttpClientFactory)
method to create aCacheKey
for no specificDestination
.protected abstract io.vavr.control.Try<CacheKey>
AbstractHttpClientCache.getCacheKey
(HttpDestinationProperties destination) Method called in the#getClient(Destination, HttpClientFactory)
method to create aCacheKey
for the givenDestination
.protected io.vavr.control.Try<CacheKey>
DefaultHttpClientCache.getCacheKey()
protected io.vavr.control.Try<CacheKey>
DefaultHttpClientCache.getCacheKey
(HttpDestinationProperties destination)