slidingExpiration property

Duration? get slidingExpiration

Gets or sets how long a cache entry can be inactive (not accessed) before it will be removed.

This will not extend the entry lifetime beyond the absolute expiration (if set).

Implementation

Duration? get slidingExpiration;
set slidingExpiration (Duration? value)

Implementation

set slidingExpiration(Duration? value);