ProcessorMode enum
Values
- auto → const ProcessorMode
-
Automatically utilizes an optimal number of background processors.
The
numberOfBackgroundProcessors
setting will be ignored.If the limit specified by
maxConcurrency
is reached, it will terminate all active tasks and create new one. - limit → const ProcessorMode
-
Uses the specified
numberOfBackgroundProcessors
.If the limit specified by
maxConcurrency
is reached, it will terminate all active tasks and create new one. - maximum → const ProcessorMode
-
Utilizes all available processors.
Be cautious, as this can negatively affect performance.
It ignores
maxConcurrency
and may overload the processor if too many tasks are incoming. - minimum → const ProcessorMode
-
Uses only one processor.
It ignores
maxConcurrency
and may overload the processor if too many tasks are incoming.
Properties
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
Constants
-
values
→ const List<
ProcessorMode> - A constant List of the values in this enum, in order of their declaration.