/** @inheritDoc */
public reset (): boolean {
- this.nextWorkerNodeKey = 0
+ this.resetWorkerNodeKeyProperties()
return true
}
public choose (): number | undefined {
const chosenWorkerNodeKey = this.nextWorkerNodeKey
this.roundRobinNextWorkerNodeKey()
- this.checkNextWorkerNodeEligibility(chosenWorkerNodeKey)
return chosenWorkerNodeKey
}