RepositoryModelCache class interface

Sets the expiration period for the cache. Used in RepositoryModel.

The repository system internally treats the delay time as a 32-bit signed integer. Therefore, if a delay time exceeding 2,147,483,647 milliseconds (approximately 24.8 days) is set, it will be set as 2,147,483,647 milliseconds.

Constructors

RepositoryModelCache.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
repositoryCacheDuration Duration?
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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