+ private nextWorkerNodeId: number = 0
+
+ /** @inheritDoc */
+ public constructor (
+ pool: IPool<Worker, Data, Response>,
+ opts: WorkerChoiceStrategyOptions = DEFAULT_WORKER_CHOICE_STRATEGY_OPTIONS
+ ) {
+ super(pool, opts)
+ this.setTaskStatisticsRequirements(this.opts)
+ }
+
+ /** @inheritDoc */
+ public reset (): boolean {
+ this.nextWorkerNodeId = 0
+ return true
+ }
+
+ /** @inheritDoc */
+ public update (): boolean {
+ return true
+ }