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