X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fpools%2Fcluster%2Ffixed.ts;h=81e7b3b7d08b4bb5624d993a15f7850d9d3bf2ba;hb=c319c66bad0611acf6087950a1f8a20f8124167b;hp=e29c8c0faa1720af8c5c43bab67b5bc031a90251;hpb=bb3f9b66fa2241864d31937eeced22caab83d17e;p=poolifier.git diff --git a/src/pools/cluster/fixed.ts b/src/pools/cluster/fixed.ts index e29c8c0f..81e7b3b7 100644 --- a/src/pools/cluster/fixed.ts +++ b/src/pools/cluster/fixed.ts @@ -77,7 +77,7 @@ export class FixedClusterPool< } /** @inheritDoc */ - public registerWorkerMessageListener( + protected registerWorkerMessageListener( worker: Worker, listener: (message: MessageValue) => void ): void { @@ -101,12 +101,12 @@ export class FixedClusterPool< } /** @inheritDoc */ - public get full (): boolean { + protected get full (): boolean { return this.workerNodes.length === this.numberOfWorkers } /** @inheritDoc */ - public get busy (): boolean { + protected get busy (): boolean { return this.internalBusy() } }