public class ApiSimpleRollingRestartClusterArgs extends Object
Constructor and Description |
---|
ApiSimpleRollingRestartClusterArgs() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
Integer |
getSlaveBatchSize()
Number of hosts with slave roles to restart at a time.
|
Integer |
getSlaveFailCountThreshold()
The threshold for number of slave host batches that are allowed to fail
to restart before the entire command is considered failed.
|
Integer |
getSleepSeconds()
Number of seconds to sleep between restarts of slave host batches.
|
int |
hashCode() |
void |
setSlaveBatchSize(Integer slaveBatchSize) |
void |
setSlaveFailCountThreshold(Integer slaveFailCountThreshold) |
void |
setSleepSeconds(Integer sleepSeconds) |
String |
toString() |
public Integer getSlaveBatchSize()
public void setSlaveBatchSize(Integer slaveBatchSize)
public Integer getSleepSeconds()
Must be greater than or equal to 0. Default is 0.
public void setSleepSeconds(Integer sleepSeconds)
public Integer getSlaveFailCountThreshold()
Must be greater than or equal to 0. Default is 0.
This argument is for ADVANCED users only.
public void setSlaveFailCountThreshold(Integer slaveFailCountThreshold)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.