X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerInfo.html;h=39a429a3b5590cf40ac1a39614b1b3d713c10a10;hb=ef0bf5b82f7edb5cd87f4bffb784bb8fac189fb8;hp=713922b7fd54d1bba52a9911367c149b1674a5ae;hpb=c07a5f0885feb4abeb50f7b7708048c494c1fc2a;p=poolifier.git diff --git a/docs/interfaces/WorkerInfo.html b/docs/interfaces/WorkerInfo.html index 713922b7..39a429a3 100644 --- a/docs/interfaces/WorkerInfo.html +++ b/docs/interfaces/WorkerInfo.html @@ -1,15 +1,18 @@ -WorkerInfo | poolifier - v3.1.21

Interface WorkerInfoInternal

Worker information.

-
interface WorkerInfo {
    dynamic: boolean;
    id: undefined | number;
    ready: boolean;
    stealing: boolean;
    taskFunctionNames?: string[];
    type: "thread" | "cluster";
}

Properties

dynamic: boolean

Dynamic flag.

-
id: undefined | number

Worker id.

-
ready: boolean

Ready flag.

-
stealing: boolean

Stealing flag. +WorkerInfo | poolifier - v4.0.10

Interface WorkerInfoInternal

Worker information.

+
interface WorkerInfo {
    backPressure: boolean;
    dynamic: boolean;
    id: undefined | number;
    ready: boolean;
    stealing: boolean;
    taskFunctionsProperties?: TaskFunctionProperties[];
    type: "thread" | "cluster";
}

Properties

backPressure: boolean

Back pressure flag. +This flag is set to true when worker node tasks queue has back pressure.

+
dynamic: boolean

Dynamic flag.

+
id: undefined | number

Worker id.

+
ready: boolean

Ready flag.

+
stealing: boolean

Stealing flag. This flag is set to true when worker node is stealing tasks from another worker node.

-
taskFunctionNames?: string[]

Task function names.

-
type: "thread" | "cluster"

Worker type.

-

Generated using TypeDoc

\ No newline at end of file +
taskFunctionsProperties?: TaskFunctionProperties[]

Task functions properties.

+
type: "thread" | "cluster"

Worker type.

+
\ No newline at end of file