@InterfaceAudience.Public public final class BalanceRequest extends Object
Modifier and Type | Class and Description |
---|---|
static class |
BalanceRequest.Builder
Builder for constructing a
BalanceRequest |
Modifier and Type | Method and Description |
---|---|
static BalanceRequest |
defaultInstance()
Get a BalanceRequest for a default run of the balancer.
|
boolean |
isDryRun()
Returns true if the balancer should run in dry run mode, otherwise false.
|
boolean |
isIgnoreRegionsInTransition()
Returns true if the balancer should execute even if regions are in transition, otherwise false.
|
static BalanceRequest.Builder |
newBuilder()
Create a builder to construct a custom
BalanceRequest . |
public static BalanceRequest.Builder newBuilder()
BalanceRequest
.public static BalanceRequest defaultInstance()
public boolean isDryRun()
public boolean isIgnoreRegionsInTransition()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.