public class DefaultCacheConfiguration extends Object implements CacheConfiguration
| Constructor and Description |
|---|
DefaultCacheConfiguration(String name,
Duration timeToLive,
Duration timeToIdle) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Returns the name of the
Cache for which this configuration applies. |
Duration |
getTimeToIdle()
Returns the Time-to-Idle setting to apply for all entries in the associated
Cache. |
Duration |
getTimeToLive()
Returns the Time-to-Live setting to apply for all entries in the associated
Cache. |
String |
toString() |
public String getName()
CacheConfigurationCache for which this configuration applies.getName in interface CacheConfigurationCache for which this configuration applies.public Duration getTimeToLive()
CacheConfigurationCache.getTimeToLive in interface CacheConfigurationCache.public Duration getTimeToIdle()
CacheConfigurationCache.getTimeToIdle in interface CacheConfigurationCache.Copyright © 2017–2023 Okta. All rights reserved.