public static class BatchingBasedOdhPatchingConfig.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchingBasedOdhPatchingConfig.Builder |
batchSize(Integer batchSize)
How many nodes to be patched in each iteration.
|
BatchingBasedOdhPatchingConfig |
build() |
BatchingBasedOdhPatchingConfig.Builder |
copy(BatchingBasedOdhPatchingConfig model) |
BatchingBasedOdhPatchingConfig.Builder |
toleranceThresholdPerBatch(Integer toleranceThresholdPerBatch)
Acceptable number of failed-to-be-patched nodes in each batch.
|
BatchingBasedOdhPatchingConfig.Builder |
waitTimeBetweenBatchInSeconds(Integer waitTimeBetweenBatchInSeconds)
The wait time between batches in seconds.
|
public BatchingBasedOdhPatchingConfig.Builder batchSize(Integer batchSize)
How many nodes to be patched in each iteration.
batchSize
- the value to setpublic BatchingBasedOdhPatchingConfig.Builder waitTimeBetweenBatchInSeconds(Integer waitTimeBetweenBatchInSeconds)
The wait time between batches in seconds.
waitTimeBetweenBatchInSeconds
- the value to setpublic BatchingBasedOdhPatchingConfig.Builder toleranceThresholdPerBatch(Integer toleranceThresholdPerBatch)
Acceptable number of failed-to-be-patched nodes in each batch. The maximum number of failed-to-patch nodes cannot exceed 20% of the number of non-utility and non-master nodes.
toleranceThresholdPerBatch
- the value to setpublic BatchingBasedOdhPatchingConfig build()
public BatchingBasedOdhPatchingConfig.Builder copy(BatchingBasedOdhPatchingConfig model)
Copyright © 2016–2024. All rights reserved.