Package | Description |
---|---|
com.okta.sdk.cache | |
com.okta.sdk.impl.cache | |
com.okta.sdk.impl.config |
Modifier and Type | Method and Description |
---|---|
static <T> CacheConfigurationBuilder |
Caches.forResource(Class<T> clazz)
Returns a new
CacheConfigurationBuilder to configure a cache region that will store data for instances
of type clazz . |
static CacheConfigurationBuilder |
Caches.named(String name)
Returns a new
CacheConfigurationBuilder used to configure a cache region with the specified name. |
CacheConfigurationBuilder |
CacheConfigurationBuilder.withTimeToIdle(long tti,
TimeUnit ttiTimeUnit)
Sets the associated
Cache region's entry Time to Idle (TTI). |
CacheConfigurationBuilder |
CacheConfigurationBuilder.withTimeToLive(long ttl,
TimeUnit ttlTimeUnit)
Sets the associated
Cache region's entry Time to Live (TTL). |
Modifier and Type | Method and Description |
---|---|
CacheManagerBuilder |
CacheManagerBuilder.withCache(CacheConfigurationBuilder builder)
Adds configuration settings for a specific Cache region managed by the
built
CacheManager , like the region's Time to Live and Time to Idle. |
Modifier and Type | Class and Description |
---|---|
class |
DefaultCacheConfigurationBuilder |
Modifier and Type | Method and Description |
---|---|
CacheConfigurationBuilder |
DefaultCacheConfigurationBuilder.withTimeToIdle(long tti,
TimeUnit ttiTimeUnit) |
CacheConfigurationBuilder |
DefaultCacheConfigurationBuilder.withTimeToLive(long ttl,
TimeUnit ttlTimeUnit) |
Modifier and Type | Method and Description |
---|---|
CacheManagerBuilder |
DefaultCacheManagerBuilder.withCache(CacheConfigurationBuilder builder) |
Modifier and Type | Method and Description |
---|---|
Map<String,CacheConfigurationBuilder> |
ClientConfiguration.getCacheManagerCaches() |
Modifier and Type | Method and Description |
---|---|
void |
ClientConfiguration.setCacheManagerCaches(Map<String,CacheConfigurationBuilder> cacheManagerCaches) |
Copyright © 2017–2023 Okta. All rights reserved.