1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_30) on Tue Nov 19 11:16:56 CET 2013 -->
6 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
8 Uses of Class org.apache.solr.cloud.ElectionContext (Solr 4.6.0 API)
11 <META NAME="date" CONTENT="2013-11-19">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="Uses of Class org.apache.solr.cloud.ElectionContext (Solr 4.6.0 API)";
28 <BODY BGCOLOR="white" onload="windowTitle();">
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME="navbar_top"><!-- --></A>
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38 <A NAME="navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
44 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 NEXT</FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../../index.html?org/apache/solr/cloud//class-useElectionContext.html" target="_top"><B>FRAMES</B></A>
62 <A HREF="ElectionContext.html" target="_top"><B>NO FRAMES</B></A>
63 <SCRIPT type="text/javascript">
66 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
71 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
84 <B>Uses of Class<br>org.apache.solr.cloud.ElectionContext</B></H2>
87 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
88 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
89 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
90 Packages that use <A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud">ElectionContext</A></FONT></TH>
92 <TR BGCOLOR="white" CLASS="TableRowColor">
93 <TD><A HREF="#org.apache.solr.cloud"><B>org.apache.solr.cloud</B></A></TD>
95 Classes for dealing with ZooKeeper when operating in <a href="http://wiki.apache.org/solr/SolrCloud">SolrCloud</a> mode. </TD>
100 <A NAME="org.apache.solr.cloud"><!-- --></A>
101 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
102 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
103 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
104 Uses of <A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud">ElectionContext</A> in <A HREF="../../../../../org/apache/solr/cloud/package-summary.html">org.apache.solr.cloud</A></FONT></TH>
110 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
111 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
112 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../org/apache/solr/cloud/package-summary.html">org.apache.solr.cloud</A> with parameters of type <A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud">ElectionContext</A></FONT></TH>
114 <TR BGCOLOR="white" CLASS="TableRowColor">
115 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
116 <CODE> int</CODE></FONT></TD>
117 <TD><CODE><B>LeaderElector.</B><B><A HREF="../../../../../org/apache/solr/cloud/LeaderElector.html#joinElection(org.apache.solr.cloud.ElectionContext, boolean)">joinElection</A></B>(<A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud">ElectionContext</A> context,
118 boolean replacement)</CODE>
121 Begin participating in the election process.</TD>
123 <TR BGCOLOR="white" CLASS="TableRowColor">
124 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
125 <CODE>protected void</CODE></FONT></TD>
126 <TD><CODE><B>LeaderElector.</B><B><A HREF="../../../../../org/apache/solr/cloud/LeaderElector.html#runIamLeaderProcess(org.apache.solr.cloud.ElectionContext, boolean)">runIamLeaderProcess</A></B>(<A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud">ElectionContext</A> context,
127 boolean weAreReplacement)</CODE>
130 </TD>
132 <TR BGCOLOR="white" CLASS="TableRowColor">
133 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
134 <CODE> void</CODE></FONT></TD>
135 <TD><CODE><B>LeaderElector.</B><B><A HREF="../../../../../org/apache/solr/cloud/LeaderElector.html#setup(org.apache.solr.cloud.ElectionContext)">setup</A></B>(<A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud">ElectionContext</A> context)</CODE>
138 Set up any ZooKeeper nodes needed for leader election.</TD>
146 <!-- ======= START OF BOTTOM NAVBAR ====== -->
147 <A NAME="navbar_bottom"><!-- --></A>
148 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
149 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
151 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
152 <A NAME="navbar_bottom_firstrow"><!-- --></A>
153 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
154 <TR ALIGN="center" VALIGN="top">
155 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
156 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
157 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../org/apache/solr/cloud/ElectionContext.html" title="class in org.apache.solr.cloud"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
158 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
159 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
160 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
161 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
165 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
171 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
173 NEXT</FONT></TD>
174 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
175 <A HREF="../../../../../index.html?org/apache/solr/cloud//class-useElectionContext.html" target="_top"><B>FRAMES</B></A>
176 <A HREF="ElectionContext.html" target="_top"><B>NO FRAMES</B></A>
177 <SCRIPT type="text/javascript">
180 document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
185 <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
192 <A NAME="skip-navbar_bottom"></A>
193 <!-- ======== END OF BOTTOM NAVBAR ======= -->
197 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
198 <script src='../../../../../prettify.js' type='text/javascript'></script>
199 <script type='text/javascript'>
201 var oldonload = window.onload;
202 if (typeof oldonload != 'function') {
203 window.onload = prettyPrint;
205 window.onload = function() {