Interface PoolInfo

Pool information.

Hierarchy

  • PoolInfo

Properties

backPressure?: boolean
busyWorkerNodes: number

Pool busy worker nodes.

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;
}

Type declaration

  • Optional Readonly average?: number
  • Readonly maximum: number
  • Optional Readonly median?: number
  • Readonly minimum: number
stolenTasks?: number
strategy: "ROUND_ROBIN" | "LEAST_USED" | "LEAST_BUSY" | "LEAST_ELU" | "FAIR_SHARE" | "WEIGHTED_ROUND_ROBIN" | "INTERLEAVED_WEIGHTED_ROUND_ROBIN"
type: "fixed" | "dynamic"
utilization?: number

Pool utilization.

version: string
waitTime?: {
    average?: number;
    maximum: number;
    median?: number;
    minimum: number;
}

Type declaration

  • Optional Readonly average?: number
  • Readonly maximum: number
  • Optional Readonly median?: number
  • Readonly minimum: number
worker: "thread" | "cluster"
workerNodes: number

Pool total worker nodes.

Generated using TypeDoc