@InterfaceAudience.Private public class SplitOrMergeTracker extends Object
Constructor and Description |
---|
SplitOrMergeTracker(ZooKeeperWatcher watcher,
org.apache.hadoop.conf.Configuration conf,
Abortable abortable) |
Modifier and Type | Method and Description |
---|---|
boolean |
isSplitOrMergeEnabled(Admin.MasterSwitchType switchType) |
void |
setSplitOrMergeEnabled(boolean enabled,
Admin.MasterSwitchType switchType) |
void |
start() |
public SplitOrMergeTracker(ZooKeeperWatcher watcher, org.apache.hadoop.conf.Configuration conf, Abortable abortable)
public void start()
public boolean isSplitOrMergeEnabled(Admin.MasterSwitchType switchType)
public void setSplitOrMergeEnabled(boolean enabled, Admin.MasterSwitchType switchType) throws org.apache.zookeeper.KeeperException
org.apache.zookeeper.KeeperException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.