| Package | Description |
|---|---|
| com.okta.sdk.cache |
| Modifier and Type | Method and Description |
|---|---|
static CacheManagerBuilder |
Caches.newCacheManager()
Instantiates a new
CacheManagerBuilder suitable for SINGLE-JVM APPLICATIONS. |
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. |
CacheManagerBuilder |
CacheManagerBuilder.withDefaultTimeToIdle(long tti,
java.util.concurrent.TimeUnit timeUnit)
Sets the default Time to Idle (TTI) for all cache regions managed by the
built
CacheManager. |
CacheManagerBuilder |
CacheManagerBuilder.withDefaultTimeToLive(long ttl,
java.util.concurrent.TimeUnit timeUnit)
Sets the default Time to Live (TTL) for all cache regions managed by the
built
CacheManager. |
Copyright © 2017-2021 Okta. All Rights Reserved.