Class WorkerSummary.Builder
java.lang.Object
co.yellowdog.platform.model.WorkerSummary.Builder
- Enclosing class:
WorkerSummary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()claimedWorkerCount(int claimedWorkerCount) The number of workers that are claimed.lastClaimedTime(Instant lastClaimedTime) The last time one of these workers was claimed.lastReleasedTime(Instant lastReleasedTime) The last time one of these workers was released.lastUpdatedTime(Instant lastUpdatedTime) The last time this summary was updated.statusCounts(Map<WorkerStatus, Long> statusCounts) The number of workers in each status.toString()
-
Method Details
-
statusCounts
The number of workers in each status.- Returns:
this.
-
claimedWorkerCount
The number of workers that are claimed.- Returns:
this.
-
lastClaimedTime
The last time one of these workers was claimed.- Returns:
this.
-
lastReleasedTime
The last time one of these workers was released.- Returns:
this.
-
lastUpdatedTime
The last time this summary was updated.- Returns:
this.
-
build
-
toString
-