Package | Description |
---|---|
com.okta.sdk.cache |
Modifier and Type | Method and Description |
---|---|
static <T> CacheConfigurationBuilder |
Caches.forResource(java.lang.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(java.lang.String name)
Returns a new
CacheConfigurationBuilder used to configure a cache region with the specified name. |
CacheConfigurationBuilder |
CacheConfigurationBuilder.withTimeToIdle(long tti,
java.util.concurrent.TimeUnit ttiTimeUnit)
Sets the associated
Cache region's entry Time to Idle (TTI). |
CacheConfigurationBuilder |
CacheConfigurationBuilder.withTimeToLive(long ttl,
java.util.concurrent.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. |
Copyright © 2017-2022 Okta. All Rights Reserved.