org.apache.solr.cloud
public abstract class ElectionContext extends Object
Constructor and Description |
---|
ElectionContext(String coreNodeName,
String electionPath,
String leaderPath,
ZkNodeProps leaderProps,
SolrZkClient zkClient) |
public ElectionContext(String coreNodeName, String electionPath, String leaderPath, ZkNodeProps leaderProps, SolrZkClient zkClient)
public void close()
public void cancelElection() throws InterruptedException, org.apache.zookeeper.KeeperException
InterruptedException
org.apache.zookeeper.KeeperException
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.