@InterfaceAudience.Public public static final class BalanceRequest.Builder extends Object
BalanceRequest
Modifier and Type | Field and Description |
---|---|
private boolean |
dryRun |
private boolean |
ignoreRegionsInTransition |
Modifier | Constructor and Description |
---|---|
private |
Builder() |
Modifier and Type | Method and Description |
---|---|
BalanceRequest |
build()
Build the
BalanceRequest |
BalanceRequest.Builder |
setDryRun(boolean dryRun)
Updates BalancerRequest to run the balancer in dryRun mode.
|
BalanceRequest.Builder |
setIgnoreRegionsInTransition(boolean ignoreRegionsInTransition)
Updates BalancerRequest to run the balancer even if there are regions in transition.
|
private boolean dryRun
private boolean ignoreRegionsInTransition
private Builder()
public BalanceRequest.Builder setDryRun(boolean dryRun)
public BalanceRequest.Builder setIgnoreRegionsInTransition(boolean ignoreRegionsInTransition)
public BalanceRequest build()
BalanceRequest
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.