Package com.cloudera.cdp.opdb.model
Class AutoScalingParameters
- java.lang.Object
-
- com.cloudera.cdp.opdb.model.AutoScalingParameters
-
@Generated(value="com.cloudera.cdp.client.codegen.CdpSDKJavaCodegen", date="2024-03-13T13:08:47.791-07:00") public class AutoScalingParameters extends Object
A Parameters to configure AutoScaling
-
-
Constructor Summary
Constructors Constructor Description AutoScalingParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Long
getEvaluationPeriod()
Getter for evaluationPeriod.Integer
getMaxWorkersForDatabase()
Getter for maxWorkersForDatabase.Integer
getMaxWorkersPerBatch()
Getter for maxWorkersPerBatch.Integer
getMinimumBlockCacheGb()
Getter for minimumBlockCacheGb.Integer
getMinWorkersForDatabase()
Getter for minWorkersForDatabase.Long
getTargetedValueForMetric()
Getter for targetedValueForMetric.int
hashCode()
void
setEvaluationPeriod(Long evaluationPeriod)
Setter for evaluationPeriod.void
setMaxWorkersForDatabase(Integer maxWorkersForDatabase)
Setter for maxWorkersForDatabase.void
setMaxWorkersPerBatch(Integer maxWorkersPerBatch)
Setter for maxWorkersPerBatch.void
setMinimumBlockCacheGb(Integer minimumBlockCacheGb)
Setter for minimumBlockCacheGb.void
setMinWorkersForDatabase(Integer minWorkersForDatabase)
Setter for minWorkersForDatabase.void
setTargetedValueForMetric(Long targetedValueForMetric)
Setter for targetedValueForMetric.String
toString()
-
-
-
Method Detail
-
getTargetedValueForMetric
public Long getTargetedValueForMetric()
Getter for targetedValueForMetric. The target value of the metric a user expect to maintain for the cluster
-
setTargetedValueForMetric
public void setTargetedValueForMetric(Long targetedValueForMetric)
Setter for targetedValueForMetric. The target value of the metric a user expect to maintain for the cluster
-
getMaxWorkersForDatabase
public Integer getMaxWorkersForDatabase()
Getter for maxWorkersForDatabase. Maximum number of worker nodes as per this metrics can be scaled up to.
-
setMaxWorkersForDatabase
public void setMaxWorkersForDatabase(Integer maxWorkersForDatabase)
Setter for maxWorkersForDatabase. Maximum number of worker nodes as per this metrics can be scaled up to.
-
getMaxWorkersPerBatch
public Integer getMaxWorkersPerBatch()
Getter for maxWorkersPerBatch. Maximum number of worker nodes as per this metrics can be scaled up to in one batch.
-
setMaxWorkersPerBatch
public void setMaxWorkersPerBatch(Integer maxWorkersPerBatch)
Setter for maxWorkersPerBatch. Maximum number of worker nodes as per this metrics can be scaled up to in one batch.
-
getMinWorkersForDatabase
public Integer getMinWorkersForDatabase()
Getter for minWorkersForDatabase. Minimum number of worker nodes as per this metrics can be scaled down to.
-
setMinWorkersForDatabase
public void setMinWorkersForDatabase(Integer minWorkersForDatabase)
Setter for minWorkersForDatabase. Minimum number of worker nodes as per this metrics can be scaled down to.
-
getEvaluationPeriod
public Long getEvaluationPeriod()
Getter for evaluationPeriod. Period of metrics(in seconds) needs to be considered.
-
setEvaluationPeriod
public void setEvaluationPeriod(Long evaluationPeriod)
Setter for evaluationPeriod. Period of metrics(in seconds) needs to be considered.
-
getMinimumBlockCacheGb
public Integer getMinimumBlockCacheGb()
Getter for minimumBlockCacheGb. The amount of block cache, in Gigabytes, which the database should have.
-
setMinimumBlockCacheGb
public void setMinimumBlockCacheGb(Integer minimumBlockCacheGb)
Setter for minimumBlockCacheGb. The amount of block cache, in Gigabytes, which the database should have.
-
-