|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.cloudera.api.model.ApiRollingUpgradeClusterArgs
public class ApiRollingUpgradeClusterArgs
Rolling upgrade arguments used in the CDH Upgrade Command. Part of ApiCdhUpgradeArgs.
| Constructor Summary | |
|---|---|
ApiRollingUpgradeClusterArgs()
|
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Integer |
getSlaveBatchSize()
Number of slave roles to restart at a time. |
Integer |
getSlaveFailCountThreshold()
The threshold for number of slave 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 role batches. |
int |
hashCode()
|
void |
setSlaveBatchSize(Integer slaveBatchSize)
|
void |
setSlaveFailCountThreshold(Integer slaveFailCountThreshold)
|
void |
setSleepSeconds(Integer sleepSeconds)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ApiRollingUpgradeClusterArgs()
| Method Detail |
|---|
public Integer getSlaveBatchSize()
public void setSlaveBatchSize(Integer slaveBatchSize)
public Integer getSleepSeconds()
public void setSleepSeconds(Integer sleepSeconds)
public Integer getSlaveFailCountThreshold()
This argument is for ADVANCED users only.
public void setSlaveFailCountThreshold(Integer slaveFailCountThreshold)
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||