Class ConfiguredWorkerPoolProperties
java.lang.Object
co.yellowdog.platform.model.ConfiguredWorkerPoolProperties
- All Implemented Interfaces:
WorkerPoolProperties
,Serializable
Defines properties to determine the behaviour that the Scheduler service should use when managing a configured worker pool.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new ConfiguredWorkerPoolProperties that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
protected boolean
boolean
The number of nodes that will be configured to register with this worker pool.int
hashCode()
void
setMetricsEnabled
(Boolean metricsEnabled) void
setNodeConfiguration
(WorkerPoolNodeConfiguration nodeConfiguration) void
setTargetNodeCount
(Integer targetNodeCount) The number of nodes that will be configured to register with this worker pool.void
setWorkerTag
(String workerTag) toString()
-
Method Details
-
builder
-
toBuilder
-
getNodeConfiguration
- Specified by:
getNodeConfiguration
in interfaceWorkerPoolProperties
-
getTargetNodeCount
The number of nodes that will be configured to register with this worker pool.- Returns:
- the target node count
-
getWorkerTag
- Specified by:
getWorkerTag
in interfaceWorkerPoolProperties
-
getMetricsEnabled
- Specified by:
getMetricsEnabled
in interfaceWorkerPoolProperties
-
setNodeConfiguration
-
setTargetNodeCount
The number of nodes that will be configured to register with this worker pool. -
setWorkerTag
-
setMetricsEnabled
-
equals
-
canEqual
-
hashCode
-
toString
-