refactor: apply stricter strategy design pattern requirements on worker
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 15:06:56 +0000 (17:06 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 5 Apr 2023 15:06:56 +0000 (17:06 +0200)
commit3300e7bcb155358c2cc1eed6e4ac11581457616f
tree891742196525e520815a3fde2a4111e564b98036
parent6372f6c6861a04ecc33e7172bf2b4896e1041089
refactor: apply stricter strategy design pattern requirements on worker
choice code

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/fair-share-worker-choice-strategy.ts
src/pools/selection-strategies/less-busy-worker-choice-strategy.ts
src/pools/selection-strategies/less-used-worker-choice-strategy.ts
src/pools/selection-strategies/round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/selection-strategies-types.ts
src/pools/selection-strategies/selection-strategies-utils.ts
src/pools/selection-strategies/weighted-round-robin-worker-choice-strategy.ts
src/pools/selection-strategies/worker-choice-strategy-context.ts
tests/pools/selection-strategies/worker-choice-strategy-context.test.js