public class BatchDataSegmentAnnouncer extends AbstractDataSegmentAnnouncer
Constructor and Description |
---|
BatchDataSegmentAnnouncer(DruidServerMetadata server,
BatchDataSegmentAnnouncerConfig config,
ZkPathsConfig zkPaths,
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 BatchDataSegmentAnnouncer(DruidServerMetadata server, BatchDataSegmentAnnouncerConfig config, ZkPathsConfig zkPaths, 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.