| Package | Description |
|---|---|
| org.apache.druid.server.coordinator | |
| org.apache.druid.server.coordinator.duty |
| Modifier and Type | Method and Description |
|---|---|
default Iterator<BalancerSegmentHolder> |
BalancerStrategy.pickSegmentsToMove(List<ServerHolder> serverHolders,
Set<String> broadcastDatasources,
int reservoirSize,
double percentOfSegmentsToConsider)
Pick the best segments to move from one of the supplied set of servers according to the balancing strategy.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,ConcurrentHashMap<SegmentId,BalancerSegmentHolder>> |
BalanceSegments.currentlyMovingSegments |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
BalanceSegments.moveSegment(BalancerSegmentHolder segment,
ImmutableDruidServer toServer,
DruidCoordinatorRuntimeParams params) |
Copyright © 2011–2021 The Apache Software Foundation. All rights reserved.