public class LoadQueuePeon extends Object
Modifier and Type | Method and Description |
---|---|
void |
dropSegment(io.druid.timeline.DataSegment segment,
LoadPeonCallback callback) |
int |
getAndResetFailedAssignCount() |
long |
getLoadQueueSize() |
Set<io.druid.timeline.DataSegment> |
getSegmentsToDrop() |
Set<io.druid.timeline.DataSegment> |
getSegmentsToLoad() |
void |
loadSegment(io.druid.timeline.DataSegment segment,
LoadPeonCallback callback) |
void |
stop() |
public Set<io.druid.timeline.DataSegment> getSegmentsToLoad()
public Set<io.druid.timeline.DataSegment> getSegmentsToDrop()
public long getLoadQueueSize()
public int getAndResetFailedAssignCount()
public void loadSegment(io.druid.timeline.DataSegment segment, LoadPeonCallback callback)
public void dropSegment(io.druid.timeline.DataSegment segment, LoadPeonCallback callback)
public void stop()
Copyright © 2011–2015. All rights reserved.