EnterpriseWorkerManager class

Central Enterprise Worker Pool & Execution Manager.

Features:

  1. Registers and maintains worker instances with health status and resource limits.
  2. Schedules and dispatches execution requests based on capability requirements.
  3. Handles job cancellation, timeouts, and isolation boundaries.
  4. Collects structured execution results and logs.

Constructors

EnterpriseWorkerManager({required String projectRoot, List<ControlledWorkerExecutor>? initialWorkers})

Properties

executionHistory → List<WorkerExecutionResult>
no setter
hashCode → int
The hash code for this object.
no setterinherited
projectRoot → String
no setter
registeredWorkers → List<ControlledWorkerInfo>
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancelTask(String taskId) → Future<bool>
Cancels an active task across registered workers.
dispatchExecution(WorkerExecutionRequest request) → Future<WorkerExecutionResult>
Dispatches an execution request to an available worker supporting the required capability.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
registerWorker(ControlledWorkerExecutor worker) → void
Registers a controlled worker executor into the pool.
toString() → String
A string representation of this object.
inherited

Operators

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