defaultExpiry property

Duration defaultExpiry
final

The default duration for which an item remains valid.

This value is used if no specific expiry is provided when calling put. After this duration, the item is considered stale and will be removed upon next access.

Implementation

final Duration defaultExpiry;