Uses of Interface
com.okta.sdk.cache.CacheConfigurationBuilder
-
Packages that use CacheConfigurationBuilder Package Description com.okta.sdk.cache -
-
Uses of CacheConfigurationBuilder in com.okta.sdk.cache
Methods in com.okta.sdk.cache that return CacheConfigurationBuilder Modifier and Type Method Description static <T extends Resource>
CacheConfigurationBuilderCaches. forResource(java.lang.Class<T> clazz)
Returns a newCacheConfigurationBuilder
to configure a cache region that will store data for instances of typeclazz
.static CacheConfigurationBuilder
Caches. named(java.lang.String name)
Returns a newCacheConfigurationBuilder
used to configure a cache region with the specified name.CacheConfigurationBuilder
CacheConfigurationBuilder. withTimeToIdle(long tti, java.util.concurrent.TimeUnit ttiTimeUnit)
Sets the associatedCache
region's entry Time to Idle (TTI).CacheConfigurationBuilder
CacheConfigurationBuilder. withTimeToLive(long ttl, java.util.concurrent.TimeUnit ttlTimeUnit)
Sets the associatedCache
region's entry Time to Live (TTL).Methods in com.okta.sdk.cache with parameters of type CacheConfigurationBuilder Modifier and Type Method Description CacheManagerBuilder
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.
-