X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=docs%2Finterfaces%2FTaskFunctionProperties.html;h=c9603cbdedb6f7a5f73c01a5e280d17be0ba4a9b;hb=3dcc95e54a6bfeb4b27460d60d3c90d27ac352dd;hp=8fbfdad326549ee0b996f3489bd659835431deda;hpb=3d84cdaec91dfe96a82462c902bead4067b452d2;p=poolifier.git diff --git a/docs/interfaces/TaskFunctionProperties.html b/docs/interfaces/TaskFunctionProperties.html index 8fbfdad3..c9603cbd 100644 --- a/docs/interfaces/TaskFunctionProperties.html +++ b/docs/interfaces/TaskFunctionProperties.html @@ -1,8 +1,8 @@ -TaskFunctionProperties | poolifier - v4.0.6

Interface TaskFunctionProperties

Task function properties.

-
interface TaskFunctionProperties {
    name: string;
    priority?: number;
    strategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
}

Properties

name +TaskFunctionProperties | poolifier - v4.0.15

Interface TaskFunctionProperties

Task function properties.

+
interface TaskFunctionProperties {
    name: string;
    priority?: number;
    strategy?:
        | "ROUND_ROBIN"
        | "LEAST_USED"
        | "LEAST_BUSY"
        | "LEAST_ELU"
        | "FAIR_SHARE"
        | "WEIGHTED_ROUND_ROBIN"
        | "INTERLEAVED_WEIGHTED_ROUND_ROBIN";
}

Properties

name: string

Task function name.

-
priority?: number

Task function priority. Lower values have higher priority.

-
strategy?: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"

Task function worker choice strategy.

-
\ No newline at end of file +

Properties

name: string

Task function name.

+
priority?: number

Task function priority. Lower values have higher priority.

+
strategy?:
    | "ROUND_ROBIN"
    | "LEAST_USED"
    | "LEAST_BUSY"
    | "LEAST_ELU"
    | "FAIR_SHARE"
    | "WEIGHTED_ROUND_ROBIN"
    | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"

Task function worker choice strategy.

+
\ No newline at end of file