Modifier and Type | Class and Description |
---|---|
static class |
RebalanceCommand.Reg |
Modifier and Type | Field and Description |
---|---|
boolean |
applyRebalance |
java.lang.String |
domain |
double |
highRatio |
long |
highThreshold |
double |
lowRatio |
long |
lowThreshold |
boolean |
noForceRefresh |
boolean |
showRefreshDuration |
net.bluemind.cli.index.RebalanceCommand.Strategy |
strategy |
Constructor and Description |
---|
RebalanceCommand() |
Modifier and Type | Method and Description |
---|---|
java.lang.Runnable |
forContext(CliContext ctx) |
void |
run() |
protected java.util.List<AllocationShardStats> |
toAllocationStats(java.util.List<ShardStats> stats) |
public java.lang.String domain
public boolean applyRebalance
public net.bluemind.cli.index.RebalanceCommand.Strategy strategy
public double lowRatio
public double highRatio
public long lowThreshold
public long highThreshold
public boolean noForceRefresh
public boolean showRefreshDuration
public void run()
run
in interface java.lang.Runnable
protected java.util.List<AllocationShardStats> toAllocationStats(java.util.List<ShardStats> stats)
public java.lang.Runnable forContext(CliContext ctx)
forContext
in interface ICmdLet
Copyright © 2023. All Rights Reserved.