Package com.okta.sdk.impl.cache
Class DefaultCacheConfiguration
java.lang.Object
com.okta.sdk.impl.cache.DefaultCacheConfiguration
- All Implemented Interfaces:
CacheConfiguration
- Since:
- 0.5.0
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCacheConfiguration(String name, Duration timeToLive, Duration timeToIdle) -
Method Summary
-
Constructor Details
-
DefaultCacheConfiguration
-
-
Method Details
-
getName
Description copied from interface:CacheConfigurationReturns the name of theCachefor which this configuration applies.- Specified by:
getNamein interfaceCacheConfiguration- Returns:
- the name of the
Cachefor which this configuration applies.
-
getTimeToLive
Description copied from interface:CacheConfigurationReturns the Time-to-Live setting to apply for all entries in the associatedCache.- Specified by:
getTimeToLivein interfaceCacheConfiguration- Returns:
- the Time-to-Live setting to apply for all entries in the associated
Cache.
-
getTimeToIdle
Description copied from interface:CacheConfigurationReturns the Time-to-Idle setting to apply for all entries in the associatedCache.- Specified by:
getTimeToIdlein interfaceCacheConfiguration- Returns:
- the Time-to-Idle setting to apply for all entries in the associated
Cache.
-
toString
-