|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.cloudera.api.model.ApiRollingRestartClusterArgs
public class ApiRollingRestartClusterArgs
Arguments used for Rolling Restart Cluster command.
Constructor Summary | |
---|---|
ApiRollingRestartClusterArgs()
|
Method Summary | |
---|---|
boolean |
equals(Object o)
|
Boolean |
getRedeployClientConfiguration()
Re-deploy client configuration. |
List<String> |
getRestartServiceNames()
List of services to restart. |
ApiRolesToInclude |
getRolesToInclude()
Role types to restart. |
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. |
Boolean |
getStaleConfigsOnly()
Restart roles with stale configs only. |
Boolean |
getUnUpgradedOnly()
Restart roles that haven't been upgraded yet. |
int |
hashCode()
|
void |
setRedeployClientConfiguration(Boolean redeployClientConfiguration)
|
void |
setRestartServiceNames(List<String> restartServiceNames)
|
void |
setRolesToInclude(ApiRolesToInclude rolesToInclude)
|
void |
setSlaveBatchSize(Integer slaveBatchSize)
|
void |
setSlaveFailCountThreshold(Integer slaveFailCountThreshold)
|
void |
setSleepSeconds(Integer 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 ApiRollingRestartClusterArgs()
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 Boolean getStaleConfigsOnly()
public void setStaleConfigsOnly(Boolean staleConfigsOnly)
public Boolean getUnUpgradedOnly()
public void setUnUpgradedOnly(Boolean unUpgradedOnly)
public Boolean getRedeployClientConfiguration()
public void setRedeployClientConfiguration(Boolean redeployClientConfiguration)
public ApiRolesToInclude getRolesToInclude()
public void setRolesToInclude(ApiRolesToInclude rolesToInclude)
public List<String> getRestartServiceNames()
public void setRestartServiceNames(List<String> restartServiceNames)
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 |