X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FWorkerInfo.html;h=39a429a3b5590cf40ac1a39614b1b3d713c10a10;hb=d912486e16e6971854a0118268bc6d13a0291466;hp=4e4b720f303292f1138caf665e83e1db6398746f;hpb=50b4c8bbd3fc81c6bbb964579677a9120cb84b51;p=poolifier.git diff --git a/docs/interfaces/WorkerInfo.html b/docs/interfaces/WorkerInfo.html index 4e4b720f..39a429a3 100644 --- a/docs/interfaces/WorkerInfo.html +++ b/docs/interfaces/WorkerInfo.html @@ -1,15 +1,18 @@ -WorkerInfo | poolifier - v4.0.0

Interface WorkerInfoInternal

Worker information.

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

Properties

dynamic +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

dynamic: boolean

Dynamic flag.

-
id: undefined | number

Worker id.

-
ready: boolean

Ready flag.

-
stealing: boolean

Stealing flag. +

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.

-
taskFunctionsProperties?: TaskFunctionProperties[]

Task functions properties.

-
type: "thread" | "cluster"

Worker type.

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

Task functions properties.

+
type: "thread" | "cluster"

Worker type.

+
\ No newline at end of file