Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.cache | |
com.sap.cloud.sdk.cloudplatform.connectivity |
Modifier and Type | Method and Description |
---|---|
CacheKey |
CacheKey.append(Iterable<Object> objects)
Appends the given Objects to this instance.
|
CacheKey |
CacheKey.append(Object... objects)
Appends the given Objects to this instance.
|
static CacheKey |
CacheKey.of(Tenant tenant,
Principal principal)
Constructs a
CacheKey for the given tenant and principal identifier, independent of whether they are
null or not. |
static CacheKey |
CacheKey.ofNoIsolation()
Constructs an instance of
CacheKey without tenant or principal isolation. |
static CacheKey |
CacheKey.ofTenantAndPrincipalIsolation()
Constructs a tenant- and principal-isolated instance of
CacheKey . |
static CacheKey |
CacheKey.ofTenantAndPrincipalOptionalIsolation()
Constructs a tenant- and principal-optional-isolated instance of
CacheKey . |
static CacheKey |
CacheKey.ofTenantIsolation()
Constructs a tenant-isolated instance of
CacheKey . |
static CacheKey |
CacheKey.ofTenantOptionalIsolation()
Constructs a tenant-optional-isolated instance of
CacheKey . |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<com.github.benmanes.caffeine.cache.Cache<CacheKey,?>> |
CacheManager.getCacheList()
Getter for a list of all caches registered in the
CacheManager . |
static <T> com.github.benmanes.caffeine.cache.Cache<CacheKey,T> |
CacheManager.register(com.github.benmanes.caffeine.cache.Cache<CacheKey,T> cache)
Registers a cache at in the
CacheManager . |
Modifier and Type | Method and Description |
---|---|
static 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> |
CacheManager.register(com.github.benmanes.caffeine.cache.Cache<CacheKey,T> cache)
Registers a cache at in the
CacheManager . |
Modifier and Type | Method and Description |
---|---|
protected 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>> |
RequestScopedHttpClientCache.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>> |
TimeScopedHttpClientCache.getCache()
Getter for the cache to be used.
|
protected abstract io.vavr.control.Try<CacheKey> |
AbstractHttpClientCache.getCacheKey()
Method called in the
#getClient(HttpClientFactory) method to create a CacheKey for no specific
Destination . |
protected io.vavr.control.Try<CacheKey> |
RequestScopedHttpClientCache.getCacheKey()
Method called in the
#getClient(HttpClientFactory) method to create a CacheKey for no specific
Destination . |
protected io.vavr.control.Try<CacheKey> |
TimeScopedHttpClientCache.getCacheKey()
Method called in the
#getClient(HttpClientFactory) method to create a CacheKey for no specific
Destination . |
protected abstract io.vavr.control.Try<CacheKey> |
AbstractHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected io.vavr.control.Try<CacheKey> |
RequestScopedHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected io.vavr.control.Try<CacheKey> |
TimeScopedHttpClientCache.getCacheKey(HttpDestinationProperties destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
Copyright © 2020 SAP SE. All rights reserved.