ScanParallelConfig class

Tunables for ScanRunner.runParallel beyond the worker count.

Constructors

ScanParallelConfig({int? maxMemoryMb, int? reserveMb, int? availableMemoryMb, int? totalMemoryMb, Duration chunkTimeout = const Duration(seconds: 120), int slowFileMs = 3000, ProgressStyle progress = ProgressStyle.auto, bool hasTerminal = false, int? chunkSize, bool forceEngine = false})
const

Properties

availableMemoryMb → int?
Machine figures used to derive defaults.
final
chunkSize → int?
final
chunkTimeout → Duration
Per-chunk wall-clock limit before a worker is restarted.
final
forceEngine → bool
Run through the engine even for one worker (gains timeouts, slow-file and memory watchdog; costs one worker-startup).
final
hashCode → int
The hash code for this object.
no setterinherited
hasTerminal → bool
final
maxMemoryMb → int?
RSS budget for the whole scan process; null = derived from worker count and available memory.
final
progress → ProgressStyle
final
reserveMb → int?
Free system memory to leave untouched; null = 10% of RAM (512–2048 MB).
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
slowFileMs → int
Files slower than this are reported.
final
totalMemoryMb → int?
final

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