Uses of Interface
com.okta.sdk.cache.CacheConfigurationBuilder
-
Uses of CacheConfigurationBuilder in com.okta.sdk.cache
Modifier and TypeMethodDescriptionstatic <T> CacheConfigurationBuilder
Caches.forResource
(Class<T> clazz) Returns a newCacheConfigurationBuilder
to configure a cache region that will store data for instances of typeclazz
.static CacheConfigurationBuilder
Returns a newCacheConfigurationBuilder
used to configure a cache region with the specified name.CacheConfigurationBuilder.withTimeToIdle
(long tti, TimeUnit ttiTimeUnit) Sets the associatedCache
region's entry Time to Idle (TTI).CacheConfigurationBuilder.withTimeToLive
(long ttl, TimeUnit ttlTimeUnit) Sets the associatedCache
region's entry Time to Live (TTL).Modifier and TypeMethodDescriptionCacheManagerBuilder.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. -
Uses of CacheConfigurationBuilder in com.okta.sdk.impl.cache
Modifier and TypeMethodDescriptionDefaultCacheConfigurationBuilder.withTimeToIdle
(long tti, TimeUnit ttiTimeUnit) DefaultCacheConfigurationBuilder.withTimeToLive
(long ttl, TimeUnit ttlTimeUnit) Modifier and TypeMethodDescriptionDefaultCacheManagerBuilder.withCache
(CacheConfigurationBuilder builder) -
Uses of CacheConfigurationBuilder in com.okta.sdk.impl.config
Modifier and TypeMethodDescriptionvoid
ClientConfiguration.setCacheManagerCaches
(Map<String, CacheConfigurationBuilder> cacheManagerCaches)