Class Node
java.lang.Object
co.yellowdog.platform.model.Node
- All Implemented Interfaces:
Identified,Serializable
Describes an instance within a worker pool.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Node.Builderbuilder()protected booleanbooleanThe status of the action queue for the node.The time when the node was deregistered.The details of the node.getId()The ID of the node.The time when the node notified of preemption.The time when the node was registered.The status of this instance.The date and time when the status last changed.The ID of the worker pool containing the node.The workers on this instance.inthashCode()voidsetActionQueueStatus(NodeActionQueueStatus actionQueueStatus) The status of the action queue for the node.voidsetAgentVersion(String agentVersion) voidsetDeregisteredTime(Instant deregisteredTime) The time when the node was deregistered.voidsetDetails(NodeDetails details) The details of the node.voidThe ID of the node.voidsetPreemptionWarningTime(Instant preemptionWarningTime) The time when the node notified of preemption.voidsetRegisteredTime(Instant registeredTime) The time when the node was registered.voidsetStatus(NodeStatus status) The status of this instance.voidsetStatusChangedTime(Instant statusChangedTime) The date and time when the status last changed.voidsetWorkerPoolId(String workerPoolId) The ID of the worker pool containing the node.voidsetWorkers(List<Worker> workers) The workers on this instance.toString()
-
Method Details
-
builder
-
getId
The ID of the node.- Specified by:
getIdin interfaceIdentified- Returns:
- the ID of the node
-
getWorkerPoolId
The ID of the worker pool containing the node.- Returns:
- the ID of the worker pool
-
getDetails
-
getStatus
-
getStatusChangedTime
The date and time when the status last changed.- Returns:
- the date and time when the status last changed
-
getRegisteredTime
The time when the node was registered.- Returns:
- the time when the node was registered
-
getDeregisteredTime
The time when the node was deregistered.- Returns:
- the time when the node was deregistered
-
getPreemptionWarningTime
The time when the node notified of preemption.- Returns:
- the time when the node notified of preemption
-
getWorkers
-
getActionQueueStatus
The status of the action queue for the node.- Returns:
- the status of the action queue
-
getAgentVersion
-
setId
-
setWorkerPoolId
The ID of the worker pool containing the node.- Parameters:
workerPoolId- the ID of the worker pool
-
setDetails
The details of the node.- Parameters:
details- the details of the node
-
setStatus
The status of this instance.- Parameters:
status- the status
-
setStatusChangedTime
The date and time when the status last changed.- Parameters:
statusChangedTime- the date and time when the status last changed
-
setRegisteredTime
The time when the node was registered.- Parameters:
registeredTime- the time when the node was registered
-
setDeregisteredTime
The time when the node was deregistered.- Parameters:
deregisteredTime- the time when the node was deregistered
-
setPreemptionWarningTime
The time when the node notified of preemption.- Parameters:
preemptionWarningTime- the time when the node notified of preemption
-
setWorkers
-
setActionQueueStatus
The status of the action queue for the node.- Parameters:
actionQueueStatus- the status of the action queue
-
setAgentVersion
-
equals
-
canEqual
-
hashCode
-
toString
-