public class ApiRollingRestartClusterArgs extends Object
Constructor and Description |
---|
ApiRollingRestartClusterArgs() |
Modifier and Type | Method and Description |
---|---|
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() |
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)
Copyright © Cloudera, Inc. Released under Apache License, Version 2.0.