LLLazyFileStorage class

Defers the path_provider call until something actually reads the cache, and degrades to memory if the platform refuses.

Implemented types

Constructors

LLLazyFileStorage([Directory? _explicitRoot])

Properties

hashCode → int
The hash code for this object.
no setterinherited
kind → String
files, memory or none. Surfaced on the status object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

commit(List<LLWrite> writes) → Future<void>
Applies every write IN ORDER. The caller puts the pointer last, so an interruption leaves orphan artifacts and a valid older pointer — garbage, never corruption.
override
get(String key) → Future<String?>
override
keys() → Future<List<String>>
Every key this store holds, for sweeping and eviction.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(List<String> keys) → Future<void>
override
toString() → String
A string representation of this object.
inherited

Operators

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