public class BridgeZkCoordinator extends BaseZkCoordinator
Constructor and Description |
---|
BridgeZkCoordinator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
ZkPathsConfig zkPaths,
SegmentLoaderConfig config,
DruidServerMetadata me,
org.apache.curator.framework.CuratorFramework curator,
SegmentPublisher dbSegmentPublisher,
MetadataSegmentManager databaseSegmentManager,
ServerView serverView) |
Modifier and Type | Method and Description |
---|---|
void |
addSegment(io.druid.timeline.DataSegment segment,
DataSegmentChangeCallback callback) |
DataSegmentChangeHandler |
getDataSegmentChangeHandler() |
void |
loadLocalCache() |
void |
removeSegment(io.druid.timeline.DataSegment segment,
DataSegmentChangeCallback callback) |
isStarted, start, stop
@Inject public BridgeZkCoordinator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, ZkPathsConfig zkPaths, SegmentLoaderConfig config, DruidServerMetadata me, org.apache.curator.framework.CuratorFramework curator, SegmentPublisher dbSegmentPublisher, MetadataSegmentManager databaseSegmentManager, ServerView serverView)
public void loadLocalCache()
loadLocalCache
in class BaseZkCoordinator
public DataSegmentChangeHandler getDataSegmentChangeHandler()
getDataSegmentChangeHandler
in class BaseZkCoordinator
public void addSegment(io.druid.timeline.DataSegment segment, DataSegmentChangeCallback callback)
public void removeSegment(io.druid.timeline.DataSegment segment, DataSegmentChangeCallback callback)
Copyright © 2011–2015. All rights reserved.