Allow worker choice strategy to specify their statistics requirements
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Oct 2022 08:14:02 +0000 (10:14 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 10 Oct 2022 08:14:02 +0000 (10:14 +0200)
commit10fcfaf49c0b6d6f0e1d137eeba1e9d805c9a815
tree5725e34644597fa6639e6ddb6712f788e3f8a6f5
parent7d82d90ea31689b7235a9282ccd5a2439483bc9f
Allow worker choice strategy to specify their statistics requirements

Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/pools/abstract-pool.ts
src/pools/selection-strategies/abstract-worker-choice-strategy.ts
src/pools/selection-strategies/dynamic-pool-worker-choice-strategy.ts
src/pools/selection-strategies/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/weighted-round-robin-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
tests/pools/abstract/abstract-pool.test.js
tests/pools/selection-strategies/selection-strategies.test.js