public abstract class BaseZkCoordinator extends Object implements DataSegmentChangeHandler
Constructor and Description |
---|
BaseZkCoordinator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper,
ZkPathsConfig zkPaths,
SegmentLoaderConfig config,
DruidServerMetadata me,
org.apache.curator.framework.CuratorFramework curator) |
Modifier and Type | Method and Description |
---|---|
abstract DataSegmentChangeHandler |
getDataSegmentChangeHandler() |
boolean |
isStarted() |
abstract void |
loadLocalCache() |
void |
start() |
void |
stop() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addSegment, removeSegment
public BaseZkCoordinator(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, ZkPathsConfig zkPaths, SegmentLoaderConfig config, DruidServerMetadata me, org.apache.curator.framework.CuratorFramework curator)
public void start() throws IOException
IOException
public void stop()
public boolean isStarted()
public abstract void loadLocalCache()
public abstract DataSegmentChangeHandler getDataSegmentChangeHandler()
Copyright © 2011–2015. All rights reserved.