EternalExpiryPolicy class Null safety

An eternal ExpiryPolicy specifies that Cache Entries won't expire. This however doesn't mean they won't be evicted if an underlying implementation needs to free-up resources where by it may choose to evict entries that are not due to expire.

Inheritance

Constructors

EternalExpiryPolicy()
Builds a EternalExpiryPolicy
const

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

getExpiryForAccess() Duration?
Gets the Duration before an accessed CacheEntry is considered expired. [...]
override
getExpiryForCreation() Duration
Gets the Duration before a newly created CacheEntry is considered expired. [...]
override
getExpiryForUpdate() Duration?
Gets the Duration before an updated CacheEntry is considered expired. [...]
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited