Class NewSegmentState
- java.lang.Object
-
- org.apache.pinot.broker.routing.instanceselector.NewSegmentState
-
@Immutable public class NewSegmentState extends Object
Contains the push time and candidate instances for a new segment.
-
-
Constructor Summary
Constructors Constructor Description NewSegmentState(long pushTimeMillis, List<SegmentInstanceCandidate> candidates)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<SegmentInstanceCandidate>getCandidates()longgetPushTimeMillis()
-
-
-
Constructor Detail
-
NewSegmentState
public NewSegmentState(long pushTimeMillis, List<SegmentInstanceCandidate> candidates)
-
-
Method Detail
-
getPushTimeMillis
public long getPushTimeMillis()
-
getCandidates
public List<SegmentInstanceCandidate> getCandidates()
-
-