Package com.okta.sdk.impl.cache
Interface CacheConfiguration
- All Known Implementing Classes:
DefaultCacheConfiguration
public interface CacheConfiguration
Represents configuration settings for a particular
Cache region.- Since:
- 0.5.0
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of theCachefor which this configuration applies.Returns the Time-to-Idle setting to apply for all entries in the associatedCache.Returns the Time-to-Live setting to apply for all entries in the associatedCache.
-
Method Details
-
getName
String getName()Returns the name of theCachefor which this configuration applies.- Returns:
- the name of the
Cachefor which this configuration applies.
-
getTimeToLive
Duration getTimeToLive()Returns the Time-to-Live setting to apply for all entries in the associatedCache.- Returns:
- the Time-to-Live setting to apply for all entries in the associated
Cache.
-
getTimeToIdle
Duration getTimeToIdle()Returns the Time-to-Idle setting to apply for all entries in the associatedCache.- Returns:
- the Time-to-Idle setting to apply for all entries in the associated
Cache.
-