Uses of Interface
com.okta.sdk.cache.CacheConfigurationBuilder
Packages that use CacheConfigurationBuilder
-
Uses of CacheConfigurationBuilder in com.okta.sdk.cache
Methods in com.okta.sdk.cache that return CacheConfigurationBuilderModifier and TypeMethodDescriptionstatic <T> CacheConfigurationBuilderCaches.forResource(Class<T> clazz) Returns a newCacheConfigurationBuilderto configure a cache region that will store data for instances of typeclazz.static CacheConfigurationBuilderReturns a newCacheConfigurationBuilderused to configure a cache region with the specified name.CacheConfigurationBuilder.withTimeToIdle(long tti, TimeUnit ttiTimeUnit) Sets the associatedCacheregion's entry Time to Idle (TTI).CacheConfigurationBuilder.withTimeToLive(long ttl, TimeUnit ttlTimeUnit) Sets the associatedCacheregion's entry Time to Live (TTL).Methods in com.okta.sdk.cache with parameters of type CacheConfigurationBuilderModifier and TypeMethodDescriptionCacheManagerBuilder.withCache(CacheConfigurationBuilder builder) Adds configuration settings for a specific Cache region managed by thebuiltCacheManager, like the region's Time to Live and Time to Idle.