org.apache.solr.cloud
Class ElectionContext
java.lang.Object
org.apache.solr.cloud.ElectionContext
public abstract class ElectionContext
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElectionContext
public ElectionContext(String shardZkNodeName,
String electionPath,
String leaderPath,
ZkNodeProps leaderProps,
SolrZkClient zkClient)
cancelElection
public void cancelElection()
throws InterruptedException,
org.apache.zookeeper.KeeperException
- Throws:
InterruptedException
org.apache.zookeeper.KeeperException
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.