Class SegmentReplicaCountMap
- java.lang.Object
-
- org.apache.druid.server.coordinator.loading.SegmentReplicaCountMap
-
public class SegmentReplicaCountMap extends Object
Contains a mapping from tier toSegmentReplicaCounts.Used by the
StrategicSegmentAssignerto make assignment decisions.
-
-
Constructor Summary
Constructors Constructor Description SegmentReplicaCountMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentReplicaCountcomputeIfAbsent(org.apache.druid.timeline.SegmentId segmentId, String tier)SegmentReplicationStatustoReplicationStatus()
-
-
-
Method Detail
-
computeIfAbsent
public SegmentReplicaCount computeIfAbsent(org.apache.druid.timeline.SegmentId segmentId, String tier)
-
toReplicationStatus
public SegmentReplicationStatus toReplicationStatus()
-
-