Class ExpiringSimpleCacheProperties
java.lang.Object
org.apereo.cas.configuration.model.core.cache.SimpleCacheProperties
org.apereo.cas.configuration.model.core.cache.ExpiringSimpleCacheProperties
- All Implemented Interfaces:
Serializable
@RequiresModule(name="cas-server-core-util",
automated=true)
public class ExpiringSimpleCacheProperties
extends SimpleCacheProperties
This is
ExpiringSimpleCacheProperties
.- Since:
- 7.0.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCache duration specifies the fixed duration for an entry to be automatically removed from the cache after its creation.setDuration
(String duration) Cache duration specifies the fixed duration for an entry to be automatically removed from the cache after its creation.Methods inherited from class org.apereo.cas.configuration.model.core.cache.SimpleCacheProperties
getCacheSize, getInitialCapacity, setCacheSize, setInitialCapacity
-
Constructor Details
-
ExpiringSimpleCacheProperties
public ExpiringSimpleCacheProperties()
-
-
Method Details
-
getDuration
Cache duration specifies the fixed duration for an entry to be automatically removed from the cache after its creation. -
setDuration
Cache duration specifies the fixed duration for an entry to be automatically removed from the cache after its creation.- Returns:
this
.
-