Interface PoolInfo

Pool information.

interface PoolInfo {
    backPressure?: boolean;
    backPressureWorkerNodes?: number;
    busyWorkerNodes: number;
    defaultStrategy:
        | "FAIR_SHARE"
        | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
        | "LEAST_BUSY"
        | "LEAST_ELU"
        | "LEAST_USED"
        | "ROUND_ROBIN"
        | "WEIGHTED_ROUND_ROBIN";
    dynamicWorkerNodes?: number;
    elu?: {
        active: {
            average?: number;
            maximum: number;
            median?: number;
            minimum: number;
        };
        idle: {
            average?: number;
            maximum: number;
            median?: number;
            minimum: number;
        };
        utilization: {
            average?: number;
            median?: number;
        };
    };
    executedTasks: number;
    executingTasks: number;
    failedTasks: number;
    idleWorkerNodes: number;
    maxQueuedTasks?: number;
    maxSize: number;
    minSize: number;
    queuedTasks?: number;
    ready: boolean;
    runTime?: {
        average?: number;
        maximum: number;
        median?: number;
        minimum: number;
    };
    started: boolean;
    stealingWorkerNodes?: number;
    stolenTasks?: number;
    strategyRetries: number;
    type: "fixed" | "dynamic";
    utilization?: number;
    version: string;
    waitTime?: {
        average?: number;
        maximum: number;
        median?: number;
        minimum: number;
    };
    worker: "cluster" | "thread";
    workerNodes: number;
}

Properties

backPressure?: boolean
backPressureWorkerNodes?: number

Pool tasks back pressure worker nodes.

busyWorkerNodes: number

Pool busy worker nodes.

defaultStrategy:
    | "FAIR_SHARE"
    | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
    | "LEAST_BUSY"
    | "LEAST_ELU"
    | "LEAST_USED"
    | "ROUND_ROBIN"
    | "WEIGHTED_ROUND_ROBIN"
dynamicWorkerNodes?: number

Pool dynamic worker nodes.

elu?: {
    active: {
        average?: number;
        maximum: number;
        median?: number;
        minimum: number;
    };
    idle: {
        average?: number;
        maximum: number;
        median?: number;
        minimum: number;
    };
    utilization: {
        average?: number;
        median?: number;
    };
}
executedTasks: number
executingTasks: number
failedTasks: number
idleWorkerNodes: number

Pool idle worker nodes.

maxQueuedTasks?: number
maxSize: number
minSize: number
queuedTasks?: number
ready: boolean
runTime?: {
    average?: number;
    maximum: number;
    median?: number;
    minimum: number;
}
started: boolean
stealingWorkerNodes?: number

Pool tasks stealing worker nodes.

stolenTasks?: number
strategyRetries: number
type: "fixed" | "dynamic"
utilization?: number

Pool utilization.

version: string
waitTime?: {
    average?: number;
    maximum: number;
    median?: number;
    minimum: number;
}
worker: "cluster" | "thread"
workerNodes: number

Pool total worker nodes.