|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiRollingRestartArgs
public class ApiRollingRestartArgs
Arguments used for Rolling Restart commands.
Constructor Summary | |
---|---|
ApiRollingRestartArgs()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
List<String> |
getRestartRoleNames()
List of specific roles to restart. |
List<String> |
getRestartRoleTypes()
Role types to restart. |
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. |
Boolean |
getStaleConfigsOnly()
Restart roles with stale configs only. |
Boolean |
getUnUpgradedOnly()
Restart roles that haven't been upgraded yet. |
int |
hashCode()
|
void |
setRestartRoleNames(List<String> restartRoleNames)
|
void |
setRestartRoleTypes(List<String> restartRoleTypes)
|
void |
setSlaveBatchSize(int slaveBatchSize)
|
void |
setSlaveFailCountThreshold(int slaveFailCountThreshold)
|
void |
setSleepSeconds(int sleepSeconds)
|
void |
setStaleConfigsOnly(boolean staleConfigsOnly)
|
void |
setUnUpgradedOnly(boolean unUpgradedOnly)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApiRollingRestartArgs()
Method Detail |
---|
public Integer getSlaveBatchSize()
public void setSlaveBatchSize(int slaveBatchSize)
public Integer getSleepSeconds()
public void setSleepSeconds(int sleepSeconds)
public Integer getSlaveFailCountThreshold()
This argument is for ADVANCED users only.
public void setSlaveFailCountThreshold(int slaveFailCountThreshold)
public Boolean getStaleConfigsOnly()
public void setStaleConfigsOnly(boolean staleConfigsOnly)
public Boolean getUnUpgradedOnly()
public void setUnUpgradedOnly(boolean unUpgradedOnly)
public List<String> getRestartRoleTypes()
public void setRestartRoleTypes(List<String> restartRoleTypes)
public List<String> getRestartRoleNames()
public void setRestartRoleNames(List<String> restartRoleNames)
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 |