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