Package | Description |
---|---|
com.sap.cloud.sdk.cloudplatform.cache | |
com.sap.cloud.sdk.cloudplatform.connectivity | |
com.sap.cloud.sdk.frameworks.hystrix | |
com.sap.cloud.sdk.s4hana.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(String tenantId,
String userName)
Constructs a
CacheKey for the given tenant identifier and user name, independent of whether they are
null or not. |
static CacheKey |
CacheKey.ofNoIsolation()
Constructs an instance of
CacheKey without tenant or user isolation. |
static CacheKey |
CacheKey.ofTenantAndUserIsolation()
Constructs a tenant- and user-isolated instance of
CacheKey . |
static CacheKey |
CacheKey.ofTenantIsolation()
Constructs a tenant-isolated instance of
CacheKey . |
Modifier and Type | Method and Description |
---|---|
static com.google.common.collect.ImmutableList<com.google.common.cache.Cache<CacheKey,?>> |
CacheManager.getCacheList()
Getter for a list of all caches registered in the
CacheManager . |
static <T> com.google.common.cache.Cache<CacheKey,T> |
CacheManager.register(com.google.common.cache.Cache<CacheKey,T> cache)
Registers a cache at in the
CacheManager . |
Modifier and Type | Method and Description |
---|---|
static long |
CacheManager.invalidateUserEntries(com.google.common.cache.Cache<CacheKey,?> cache)
Invalidates all cache entries of the current tenant-specific user.
|
static long |
CacheManager.invalidateUserEntries(String tenantId,
String userName,
com.google.common.cache.Cache<CacheKey,?> cache)
Invalidates all cache entries of the given tenant-specific user.
|
static <T> com.google.common.cache.Cache<CacheKey,T> |
CacheManager.register(com.google.common.cache.Cache<CacheKey,T> cache)
Registers a cache at in the
CacheManager . |
Modifier and Type | Method and Description |
---|---|
protected CacheKey |
TimeScopedHttpClientCache.getCacheKey()
Method called in the
#getClient(HttpClientFactory) method to create a CacheKey for no specific
Destination . |
protected CacheKey |
RequestScopedHttpClientCache.getCacheKey()
Method called in the
#getClient(HttpClientFactory) method to create a CacheKey for no specific
Destination . |
protected abstract CacheKey |
HttpClientCache.getCacheKey()
Method called in the
#getClient(HttpClientFactory) method to create a CacheKey for no specific
Destination . |
protected CacheKey |
TimeScopedHttpClientCache.getCacheKey(Destination destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected CacheKey |
RequestScopedHttpClientCache.getCacheKey(Destination destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
protected abstract CacheKey |
HttpClientCache.getCacheKey(Destination destination)
Method called in the
#getClient(Destination, HttpClientFactory) method to create a CacheKey for
the given Destination . |
Modifier and Type | Method and Description |
---|---|
protected Optional<com.google.common.cache.Cache<CacheKey,org.apache.http.client.HttpClient>> |
TimeScopedHttpClientCache.getCache()
Getter for the cache to be used.
|
protected Optional<com.google.common.cache.Cache<CacheKey,org.apache.http.client.HttpClient>> |
RequestScopedHttpClientCache.getCache()
Getter for the cache to be used.
|
protected abstract Optional<com.google.common.cache.Cache<CacheKey,org.apache.http.client.HttpClient>> |
HttpClientCache.getCache()
Getter for the cache to be used.
|
Modifier and Type | Method and Description |
---|---|
protected CacheKey |
CachingCommand.getCommandCacheKey()
Returns the
CacheKey that is used by this command. |
Modifier and Type | Method and Description |
---|---|
protected abstract com.google.common.cache.Cache<CacheKey,T> |
CachingCommand.getCache()
Returns the instance of the command-specific cache.
|
Modifier and Type | Method and Description |
---|---|
protected CacheKey |
CachingErpCommand.getCommandCacheKey()
Returns the
CacheKey that is used by this command. |
Copyright © 2019 SAP SE. All rights reserved.