public class SingleDataSegmentAnnouncer extends AbstractDataSegmentAnnouncer
Constructor and Description |
---|
SingleDataSegmentAnnouncer(DruidServerMetadata server,
ZkPathsConfig config,
Announcer announcer,
com.fasterxml.jackson.databind.ObjectMapper jsonMapper) |
Modifier and Type | Method and Description |
---|---|
void |
announceSegment(io.druid.timeline.DataSegment segment) |
void |
announceSegments(Iterable<io.druid.timeline.DataSegment> segments) |
void |
unannounceSegment(io.druid.timeline.DataSegment segment) |
void |
unannounceSegments(Iterable<io.druid.timeline.DataSegment> segments) |
start, stop
@Inject public SingleDataSegmentAnnouncer(DruidServerMetadata server, ZkPathsConfig config, Announcer announcer, com.fasterxml.jackson.databind.ObjectMapper jsonMapper)
public void announceSegment(io.druid.timeline.DataSegment segment) throws IOException
IOException
public void unannounceSegment(io.druid.timeline.DataSegment segment) throws IOException
IOException
public void announceSegments(Iterable<io.druid.timeline.DataSegment> segments) throws IOException
IOException
public void unannounceSegments(Iterable<io.druid.timeline.DataSegment> segments) throws IOException
IOException
Copyright © 2011–2015. All rights reserved.