MaintenanceScheduler class abstract interface

Runs maintenance work (flush, compaction) outside the write that triggered it.

This is the seam for the concurrency model: today the engine is single isolate, so the default implementation only defers work to a microtask. A future worker isolate implements the same interface with a real background isolate; the engine does not change.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
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
schedule(void task()) → void
Schedules task to run later on the engine's isolate.
toString() → String
A string representation of this object.
inherited

Operators

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