Class WorkerPoolSummary.Builder
java.lang.Object
co.yellowdog.platform.interaction.scheduler.WorkerPoolSummary.Builder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
claimedWorkerCount
(int claimedWorkerCount) The count of workers within the worker pool that have been claimed by one or more task groups.createdTime
(Instant createdTime) The date and time when the worker pool was first created.healthy
(boolean healthy) Indicates if the worker pool is healthy.The name used to uniquely identify the worker pool.The namespace that the worker pool is associated withregisteredNodeCount
(int registeredNodeCount) The count of nodes that have registered with the worker pool.registeredWorkerCount
(int registeredWorkerCount) The count of workers that have registered with the worker pool.status
(WorkerPoolStatus status) The status of the worker pool.toString()
The type of the worker pool.workingWorkerCount
(int workingWorkerCount) The count of workers within the worker pool that are currently doing a task.
-
Method Details
-
id
- Returns:
this
.
-
name
The name used to uniquely identify the worker pool.- Returns:
this
.
-
namespace
The namespace that the worker pool is associated with- Returns:
this
.
-
type
-
registeredNodeCount
The count of nodes that have registered with the worker pool.- Returns:
this
.
-
registeredWorkerCount
The count of workers that have registered with the worker pool.- Returns:
this
.
-
claimedWorkerCount
The count of workers within the worker pool that have been claimed by one or more task groups.- Returns:
this
.
-
workingWorkerCount
The count of workers within the worker pool that are currently doing a task.- Returns:
this
.
-
status
The status of the worker pool.- Returns:
this
.
-
createdTime
The date and time when the worker pool was first created.- Returns:
this
.
-
healthy
Indicates if the worker pool is healthy. If false then workers may be late or lost.- Returns:
this
.
-
build
-
toString
-