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