public class SegmentReplicationStatus extends Object
StrategicSegmentAssigner in every run.| Constructor and Description |
|---|
SegmentReplicationStatus(Map<SegmentId,Map<String,SegmentReplicaCount>> replicaCountsInTier) |
| Modifier and Type | Method and Description |
|---|---|
SegmentReplicaCount |
getReplicaCountsInCluster(SegmentId segmentId) |
Map<String,it.unimi.dsi.fastutil.objects.Object2LongMap<String>> |
getTierToDatasourceToUnderReplicated(Iterable<DataSegment> usedSegments,
boolean ignoreMissingServers) |
public SegmentReplicationStatus(Map<SegmentId,Map<String,SegmentReplicaCount>> replicaCountsInTier)
public SegmentReplicaCount getReplicaCountsInCluster(SegmentId segmentId)
public Map<String,it.unimi.dsi.fastutil.objects.Object2LongMap<String>> getTierToDatasourceToUnderReplicated(Iterable<DataSegment> usedSegments, boolean ignoreMissingServers)
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.