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 coreNodeName, String electionPath, String leaderPath, ZkNodeProps leaderProps, SolrZkClient zkClient)
           
 
Method Summary
 void cancelElection()
           
 void close()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElectionContext

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

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.