X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;ds=sidebyside;f=docs%2Finterfaces%2FIPool.html;h=bb275d41748743cf0ffc26295ad4da9de761289a;hb=d6b93f1ae5603949390418b787e0ad51b026f9c5;hp=0b232f29be2d00227a28ed520f67771f3a571334;hpb=6c525543a7ed67a926b7c1f4bf98985aaad1f088;p=poolifier.git diff --git a/docs/interfaces/IPool.html b/docs/interfaces/IPool.html index 0b232f29..bb275d41 100644 --- a/docs/interfaces/IPool.html +++ b/docs/interfaces/IPool.html @@ -42,7 +42,7 @@ +
  • Defined in src/pools/pool.ts:119
  • @@ -50,28 +50,18 @@

    Properties

    -
    - -
    busy: boolean
    -

    Whether the pool is busy or not.

    -

    The pool busyness boolean status.

    -
    - +
    destroy: (() => Promise<void>)

    Type declaration

    @@ -84,7 +74,7 @@

    Returns Promise<void>

    +
  • Defined in src/pools/pool.ts:163
  • emitter?: PoolEmitter
    @@ -96,7 +86,7 @@
    +
  • Defined in src/pools/pool.ts:142
  • execute: ((data: Data) => Promise<Response>)
    @@ -120,7 +110,7 @@

    Returns Promise<Response>

    +
  • Defined in src/pools/pool.ts:159
  • findFreeWorkerNodeKey: (() => number)
    @@ -139,15 +129,7 @@

    Returns number

    -
    - -
    full: boolean
    -

    Whether the pool is full or not.

    -

    The pool filling boolean status.

    -
    +
  • Defined in src/pools/pool.ts:152
  • setWorkerChoiceStrategy: ((workerChoiceStrategy: "ROUND_ROBIN" | "LESS_USED" | "LESS_BUSY" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN") => void)
    @@ -169,22 +151,22 @@

    Returns void

    +
  • Defined in src/pools/pool.ts:169
  • -
    type: PoolType
    +
    type: PoolType

    Pool type.

    If it is 'dynamic', it provides the max property.

    +
  • Defined in src/pools/pool.ts:129
  • workerNodes: WorkerNode<Worker, Data>[]

    Pool worker nodes.

    +
  • Defined in src/pools/pool.ts:133