Class SegmentStatusInTier
- java.lang.Object
-
- org.apache.druid.server.coordinator.loading.SegmentStatusInTier
-
public class SegmentStatusInTier extends Object
Maintains a map containing the state of a segment on all servers of a tier.
-
-
Constructor Summary
Constructors Constructor Description SegmentStatusInTier(org.apache.druid.timeline.DataSegment segment, NavigableSet<ServerHolder> historicals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ServerHolder>getServersEligibleToDrop()List<ServerHolder>getServersEligibleToLoad()List<ServerHolder>getServersPerforming(SegmentAction action)
-
-
-
Constructor Detail
-
SegmentStatusInTier
public SegmentStatusInTier(org.apache.druid.timeline.DataSegment segment, NavigableSet<ServerHolder> historicals)
-
-
Method Detail
-
getServersEligibleToLoad
public List<ServerHolder> getServersEligibleToLoad()
-
getServersEligibleToDrop
public List<ServerHolder> getServersEligibleToDrop()
-
getServersPerforming
public List<ServerHolder> getServersPerforming(SegmentAction action)
-
-