Uses of Interface
com.okta.sdk.cache.CacheManagerBuilder
-
Uses of CacheManagerBuilder in com.okta.sdk.cache
Modifier and TypeMethodDescriptionstatic CacheManagerBuilder
Caches.newCacheManager()
Instantiates a newCacheManagerBuilder
suitable for SINGLE-JVM APPLICATIONS.CacheManagerBuilder.withCache
(CacheConfigurationBuilder builder) Adds configuration settings for a specific Cache region managed by thebuilt
CacheManager
, like the region's Time to Live and Time to Idle.CacheManagerBuilder.withDefaultTimeToIdle
(long tti, TimeUnit timeUnit) Sets the default Time to Idle (TTI) for all cache regions managed by thebuilt
CacheManager
.CacheManagerBuilder.withDefaultTimeToLive
(long ttl, TimeUnit timeUnit) Sets the default Time to Live (TTL) for all cache regions managed by thebuilt
CacheManager
. -
Uses of CacheManagerBuilder in com.okta.sdk.impl.cache
Modifier and TypeMethodDescriptionDefaultCacheManagerBuilder.withCache
(CacheConfigurationBuilder builder) DefaultCacheManagerBuilder.withDefaultTimeToIdle
(long tti, TimeUnit timeUnit) DefaultCacheManagerBuilder.withDefaultTimeToLive
(long ttl, TimeUnit timeUnit)