CacheEntryBuilder<T> class
The CacheEntry builder
- Inheritance
-
- Object
- EntryBuilder<
T, CacheInfo, CacheEntry> - CacheEntryBuilder
Constructors
- CacheEntryBuilder(String key, T value, DateTime creationTime, Duration expiryDuration, {int? hitCount, DateTime? accessTime, DateTime? updateTime})
- Builds a CacheEntryBuilder
Properties
- accessTime ↔ DateTime
-
Info access time
getter/setter pairinherited
- creationTime → DateTime
-
The creation time
finalinherited
- expiryDuration ↔ Duration
-
The expiry duration
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hitCount ↔ int?
-
getter/setter pair
- key → String
-
The key
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- state → EntryState
-
The state
finalinherited
- updateTime ↔ DateTime
-
Info update time
getter/setter pairinherited
- value → T
-
The value
finalinherited
Methods
-
build(
) → CacheEntry -
Builds an Entry
override
-
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