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 coreNodeName,
String electionPath,
String leaderPath,
ZkNodeProps leaderProps,
SolrZkClient zkClient)
close
public void close()
cancelElection
public void cancelElection()
throws InterruptedException,
org.apache.zookeeper.KeeperException
- Throws:
InterruptedException
org.apache.zookeeper.KeeperException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.