|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiSimpleRollingRestartClusterArgs
public class ApiSimpleRollingRestartClusterArgs
Basic arguments used for Rolling Restart Cluster commands.
Constructor Summary | |
---|---|
ApiSimpleRollingRestartClusterArgs()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiSimpleRollingRestartClusterArgs()
Method Detail |
---|
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)
public String toString()
toString
in class Object
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |