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