Uses of Enum
co.yellowdog.platform.model.WorkerStatus
Packages that use WorkerStatus
Package
Description
Defines types used in the request/response interactions with the YellowDog Scheduler Service.
Provides the types that define the YellowDog Platform data model.
-
Uses of WorkerStatus in co.yellowdog.platform.interaction.scheduler
Methods in co.yellowdog.platform.interaction.scheduler that return types with arguments of type WorkerStatusMethods in co.yellowdog.platform.interaction.scheduler with parameters of type WorkerStatusMethod parameters in co.yellowdog.platform.interaction.scheduler with type arguments of type WorkerStatusModifier and TypeMethodDescriptionvoid
NodeSearch.setWorkerStatuses
(List<WorkerStatus> workerStatuses) NodeSearch.Builder.workerStatuses
(Collection<? extends WorkerStatus> workerStatuses) -
Uses of WorkerStatus in co.yellowdog.platform.model
Subclasses with type arguments of type WorkerStatus in co.yellowdog.platform.modelMethods in co.yellowdog.platform.model that return WorkerStatusModifier and TypeMethodDescriptionstatic WorkerStatus
WorkerStatus.fromAction
(@NonNull WorkerAction action) Returns a WorkerStatus value based on the specified WorkerAction value.Worker.getStatus()
The status of the worker.static WorkerStatus
Returns the enum constant of this type with the specified name.static WorkerStatus[]
WorkerStatus.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in co.yellowdog.platform.model that return types with arguments of type WorkerStatusModifier and TypeMethodDescriptionWorkerSummary.getStatusCounts()
The number of workers in each status.Methods in co.yellowdog.platform.model with parameters of type WorkerStatusModifier and TypeMethodDescriptionvoid
Worker.setStatus
(WorkerStatus status) The status of the worker.Worker.Builder.status
(WorkerStatus status) The status of the worker.Method parameters in co.yellowdog.platform.model with type arguments of type WorkerStatusModifier and TypeMethodDescriptionvoid
WorkerSummary.setStatusCounts
(Map<WorkerStatus, Long> statusCounts) The number of workers in each status.WorkerSummary.Builder.statusCounts
(Map<WorkerStatus, Long> statusCounts) The number of workers in each status.Constructor parameters in co.yellowdog.platform.model with type arguments of type WorkerStatusModifierConstructorDescriptionWorkerSummary
(Map<WorkerStatus, Long> statusCounts, int allWorkerClaimsCount, int claimedWorkerCount, Instant lastClaimedTime, Instant lastReleasedTime, Instant lastUpdatedTime) Creates a newWorkerSummary
instance.