org.apache.solr.cloud
Class ElectionContext

java.lang.Object
  extended by org.apache.solr.cloud.ElectionContext

public abstract class ElectionContext
extends Object


Constructor Summary
ElectionContext(String shardZkNodeName, String electionPath, String leaderPath, ZkNodeProps leaderProps, SolrZkClient zkClient)
           
 
Method Summary
 void cancelElection()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectionContext

public ElectionContext(String shardZkNodeName,
                       String electionPath,
                       String leaderPath,
                       ZkNodeProps leaderProps,
                       SolrZkClient zkClient)
Method Detail

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.