public class NewShardSourcesCountByRefreshDurationRatio extends java.lang.Object implements AllocatorSourcesCountStrategy<NewShard>
AllocatorSourcesCountStrategy.BoxesCount
Constructor and Description |
---|
NewShardSourcesCountByRefreshDurationRatio(java.util.Map<java.lang.String,java.lang.Long> refreshDurations,
long refreshThreshold) |
Modifier and Type | Method and Description |
---|---|
java.util.Map<AllocationShardStats,AllocatorSourcesCountStrategy.BoxesCount> |
apply(NewShard newShard) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
boxesCount
public NewShardSourcesCountByRefreshDurationRatio(java.util.Map<java.lang.String,java.lang.Long> refreshDurations, long refreshThreshold)
public java.util.Map<AllocationShardStats,AllocatorSourcesCountStrategy.BoxesCount> apply(NewShard newShard)
apply
in interface AllocatorSourcesCountStrategy<NewShard>
Copyright © 2023. All Rights Reserved.