public class RebalanceSpecificationByRatio extends java.lang.Object implements AllocationSpecification<Rebalance>
| Constructor and Description | 
|---|
RebalanceSpecificationByRatio(java.util.Map<java.lang.String,java.lang.Long> refreshDurations,
                             double refreshDurationLowRatio,
                             double refreshDurationHighRatio)  | 
| Modifier and Type | Method and Description | 
|---|---|
Rebalance | 
apply(java.util.List<AllocationShardStats> existing)  | 
public RebalanceSpecificationByRatio(java.util.Map<java.lang.String,java.lang.Long> refreshDurations,
                                     double refreshDurationLowRatio,
                                     double refreshDurationHighRatio)
public Rebalance apply(java.util.List<AllocationShardStats> existing)
apply in interface AllocationSpecification<Rebalance>Copyright © 2023. All Rights Reserved.