HBASE-26240 Set InterfaceAudience to Private for BalanceRequest$Builder (#3663)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
Signed-off-by: Nick Dimiduk <ndimiduk@apache.org>
This commit is contained in:
Bryan Beaudreault 2021-09-09 13:25:20 -04:00 committed by GitHub
parent 8d2b995352
commit 8679e08dab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ public final class BalanceRequest {
/** /**
* Builder for constructing a {@link BalanceRequest} * Builder for constructing a {@link BalanceRequest}
*/ */
@InterfaceAudience.Public @InterfaceAudience.Private
public final static class Builder { public final static class Builder {
private boolean dryRun = false; private boolean dryRun = false;
private boolean ignoreRegionsInTransition = false; private boolean ignoreRegionsInTransition = false;
@ -38,7 +38,7 @@ public final class BalanceRequest {
private Builder() {} private Builder() {}
/** /**
* Creates a BalancerRequest which runs the balancer in dryRun mode. * Updates BalancerRequest to run the balancer in dryRun mode.
* In this mode, the balancer will try to find a plan but WILL NOT * In this mode, the balancer will try to find a plan but WILL NOT
* execute any region moves or call any coprocessors. * execute any region moves or call any coprocessors.
* *
@ -55,8 +55,8 @@ public final class BalanceRequest {
} }
/** /**
* Creates a BalancerRequest to cause the balancer to run even if there * Updates BalancerRequest to run the balancer even if there are regions
* are regions in transition. * in transition.
* *
* WARNING: Advanced usage only, this could cause more issues than it fixes. * WARNING: Advanced usage only, this could cause more issues than it fixes.
*/ */