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 classA builder that can be used to build a new ConfiguredWorkerPoolProperties that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()protected booleanbooleanThe number of nodes that will be configured to register with this worker pool.inthashCode()voidsetMetricsEnabled(Boolean metricsEnabled) voidsetNodeConfiguration(WorkerPoolNodeConfiguration nodeConfiguration) voidsetTargetNodeCount(Integer targetNodeCount) The number of nodes that will be configured to register with this worker pool.voidsetWorkerTag(String workerTag) toString()
-
Method Details
-
builder
-
toBuilder
-
getNodeConfiguration
- Specified by:
getNodeConfigurationin interfaceWorkerPoolProperties
-
getTargetNodeCount
The number of nodes that will be configured to register with this worker pool.- Returns:
- the target node count
-
getWorkerTag
- Specified by:
getWorkerTagin interfaceWorkerPoolProperties
-
getMetricsEnabled
- Specified by:
getMetricsEnabledin interfaceWorkerPoolProperties
-
setNodeConfiguration
-
setTargetNodeCount
The number of nodes that will be configured to register with this worker pool. -
setWorkerTag
-
setMetricsEnabled
-
equals
-
canEqual
-
hashCode
-
toString
-