source: sandbox/expresso-solr/solr/docs/api/org/apache/zookeeper/SolrZooKeeper.html @ 7588

Revision 7588, 15.6 KB checked in by adir, 11 years ago (diff)

Ticket #000 - Adicionando a integracao de buscas com Solr na base a ser isnerida na comunidade

Line 
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2<!--NewPage-->
3<HTML>
4<HEAD>
5<!-- Generated by javadoc (build 1.6.0_24) on Mon Jun 25 15:26:26 EDT 2012 -->
6<META http-equiv="Content-Type" content="text/html; charset=utf-8">
7<TITLE>
8SolrZooKeeper (Solr 4.0.0-ALPHA API)
9</TITLE>
10
11<META NAME="date" CONTENT="2012-06-25">
12
13<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../stylesheet.css" TITLE="Style">
14
15<SCRIPT type="text/javascript">
16function windowTitle()
17{
18    if (location.href.indexOf('is-external=true') == -1) {
19        parent.document.title="SolrZooKeeper (Solr 4.0.0-ALPHA API)";
20    }
21}
22</SCRIPT>
23<NOSCRIPT>
24</NOSCRIPT>
25
26</HEAD>
27
28<BODY BGCOLOR="white" onload="windowTitle();">
29<HR>
30
31
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="">
36<TR>
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>&nbsp;</TD>
42  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
43  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
44  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SolrZooKeeper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
45  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
46  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
47  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48  </TR>
49</TABLE>
50</TD>
51<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52</EM>
53</TD>
54</TR>
55
56<TR>
57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58&nbsp;PREV CLASS&nbsp;
59&nbsp;NEXT CLASS</FONT></TD>
60<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61  <A HREF="../../../index.html?org/apache/zookeeper/SolrZooKeeper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
62&nbsp;<A HREF="SolrZooKeeper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
63&nbsp;<SCRIPT type="text/javascript">
64  <!--
65  if(window==top) {
66    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67  }
68  //-->
69</SCRIPT>
70<NOSCRIPT>
71  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72</NOSCRIPT>
73
74
75</FONT></TD>
76</TR>
77<TR>
78<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.zookeeper.ZooKeeper">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.zookeeper.ZooKeeper">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82</TR>
83</TABLE>
84<A NAME="skip-navbar_top"></A>
85<!-- ========= END OF TOP NAVBAR ========= -->
86
87<HR>
88<!-- ======== START OF CLASS DATA ======== -->
89<H2>
90<FONT SIZE="-1">
91org.apache.zookeeper</FONT>
92<BR>
93Class SolrZooKeeper</H2>
94<PRE>
95<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">java.lang.Object</A>
96  <IMG SRC="../../../resources/inherit.gif" ALT="extended by ">org.apache.zookeeper.ZooKeeper
97      <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>org.apache.zookeeper.SolrZooKeeper</B>
98</PRE>
99<HR>
100<DL>
101<DT><PRE>public class <B>SolrZooKeeper</B><DT>extends org.apache.zookeeper.ZooKeeper</DL>
102</PRE>
103
104<P>
105<HR>
106
107<P>
108<!-- ======== NESTED CLASS SUMMARY ======== -->
109
110<A NAME="nested_class_summary"><!-- --></A>
111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
112<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
113<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
114<B>Nested Class Summary</B></FONT></TH>
115</TR>
116</TABLE>
117&nbsp;<A NAME="nested_classes_inherited_from_class_org.apache.zookeeper.ZooKeeper"><!-- --></A>
118<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
120<TH ALIGN="left"><B>Nested classes/interfaces inherited from class org.apache.zookeeper.ZooKeeper</B></TH>
121</TR>
122<TR BGCOLOR="white" CLASS="TableRowColor">
123<TD><CODE>org.apache.zookeeper.ZooKeeper.States</CODE></TD>
124</TR>
125</TABLE>
126&nbsp;
127<!-- =========== FIELD SUMMARY =========== -->
128
129<A NAME="field_summary"><!-- --></A>
130<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
131<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
132<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
133<B>Field Summary</B></FONT></TH>
134</TR>
135</TABLE>
136&nbsp;<A NAME="fields_inherited_from_class_org.apache.zookeeper.ZooKeeper"><!-- --></A>
137<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
138<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
139<TH ALIGN="left"><B>Fields inherited from class org.apache.zookeeper.ZooKeeper</B></TH>
140</TR>
141<TR BGCOLOR="white" CLASS="TableRowColor">
142<TD><CODE>cnxn</CODE></TD>
143</TR>
144</TABLE>
145&nbsp;
146<!-- ======== CONSTRUCTOR SUMMARY ======== -->
147
148<A NAME="constructor_summary"><!-- --></A>
149<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
150<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
151<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
152<B>Constructor Summary</B></FONT></TH>
153</TR>
154<TR BGCOLOR="white" CLASS="TableRowColor">
155<TD><CODE><B><A HREF="../../../org/apache/zookeeper/SolrZooKeeper.html#SolrZooKeeper(java.lang.String, int, org.apache.zookeeper.Watcher)">SolrZooKeeper</A></B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;connectString,
156              int&nbsp;sessionTimeout,
157              org.apache.zookeeper.Watcher&nbsp;watcher)</CODE>
158
159<BR>
160&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
161</TR>
162</TABLE>
163&nbsp;
164<!-- ========== METHOD SUMMARY =========== -->
165
166<A NAME="method_summary"><!-- --></A>
167<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
168<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
169<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
170<B>Method Summary</B></FONT></TH>
171</TR>
172<TR BGCOLOR="white" CLASS="TableRowColor">
173<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
174<CODE>&nbsp;org.apache.zookeeper.ClientCnxn</CODE></FONT></TD>
175<TD><CODE><B><A HREF="../../../org/apache/zookeeper/SolrZooKeeper.html#getConnection()">getConnection</A></B>()</CODE>
176
177<BR>
178&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
179</TR>
180<TR BGCOLOR="white" CLASS="TableRowColor">
181<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
182<CODE>&nbsp;void</CODE></FONT></TD>
183<TD><CODE><B><A HREF="../../../org/apache/zookeeper/SolrZooKeeper.html#pauseCnxn(long)">pauseCnxn</A></B>(long&nbsp;ms)</CODE>
184
185<BR>
186&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cause this ZooKeeper object to stop receiving from the ZooKeeperServer
187 for the given number of milliseconds.</TD>
188</TR>
189</TABLE>
190&nbsp;<A NAME="methods_inherited_from_class_org.apache.zookeeper.ZooKeeper"><!-- --></A>
191<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
192<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
193<TH ALIGN="left"><B>Methods inherited from class org.apache.zookeeper.ZooKeeper</B></TH>
194</TR>
195<TR BGCOLOR="white" CLASS="TableRowColor">
196<TD><CODE>addAuthInfo, close, create, create, delete, delete, exists, exists, exists, exists, getACL, getACL, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getChildren, getData, getData, getData, getData, getSessionId, getSessionPasswd, getSessionTimeout, getState, register, setACL, setACL, setData, setData, sync, testableLocalSocketAddress, testableRemoteSocketAddress, testableWaitForShutdown, toString</CODE></TD>
197</TR>
198</TABLE>
199&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
200<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
201<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
202<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
203</TR>
204<TR BGCOLOR="white" CLASS="TableRowColor">
205<TD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
206</TR>
207</TABLE>
208&nbsp;
209<P>
210
211<!-- ========= CONSTRUCTOR DETAIL ======== -->
212
213<A NAME="constructor_detail"><!-- --></A>
214<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
215<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
216<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
217<B>Constructor Detail</B></FONT></TH>
218</TR>
219</TABLE>
220
221<A NAME="SolrZooKeeper(java.lang.String, int, org.apache.zookeeper.Watcher)"><!-- --></A><H3>
222SolrZooKeeper</H3>
223<PRE>
224public <B>SolrZooKeeper</B>(<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;connectString,
225                     int&nbsp;sessionTimeout,
226                     org.apache.zookeeper.Watcher&nbsp;watcher)
227              throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></PRE>
228<DL>
229<DL>
230
231<DT><B>Throws:</B>
232<DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/io/IOException.html?is-external=true" title="class or interface in java.io">IOException</A></CODE></DL>
233</DL>
234
235<!-- ============ METHOD DETAIL ========== -->
236
237<A NAME="method_detail"><!-- --></A>
238<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
239<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
240<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
241<B>Method Detail</B></FONT></TH>
242</TR>
243</TABLE>
244
245<A NAME="getConnection()"><!-- --></A><H3>
246getConnection</H3>
247<PRE>
248public org.apache.zookeeper.ClientCnxn <B>getConnection</B>()</PRE>
249<DL>
250<DD><DL>
251</DL>
252</DD>
253</DL>
254<HR>
255
256<A NAME="pauseCnxn(long)"><!-- --></A><H3>
257pauseCnxn</H3>
258<PRE>
259public void <B>pauseCnxn</B>(long&nbsp;ms)</PRE>
260<DL>
261<DD>Cause this ZooKeeper object to stop receiving from the ZooKeeperServer
262 for the given number of milliseconds.
263<P>
264<DD><DL>
265<DT><B>Parameters:</B><DD><CODE>ms</CODE> - the number of milliseconds to pause.</DL>
266</DD>
267</DL>
268<!-- ========= END OF CLASS DATA ========= -->
269<HR>
270
271
272<!-- ======= START OF BOTTOM NAVBAR ====== -->
273<A NAME="navbar_bottom"><!-- --></A>
274<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
275<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
276<TR>
277<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
278<A NAME="navbar_bottom_firstrow"><!-- --></A>
279<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
280  <TR ALIGN="center" VALIGN="top">
281  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
282  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
283  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
284  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/SolrZooKeeper.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
285  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
286  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
287  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
288  </TR>
289</TABLE>
290</TD>
291<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
292</EM>
293</TD>
294</TR>
295
296<TR>
297<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
298&nbsp;PREV CLASS&nbsp;
299&nbsp;NEXT CLASS</FONT></TD>
300<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
301  <A HREF="../../../index.html?org/apache/zookeeper/SolrZooKeeper.html" target="_top"><B>FRAMES</B></A>  &nbsp;
302&nbsp;<A HREF="SolrZooKeeper.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
303&nbsp;<SCRIPT type="text/javascript">
304  <!--
305  if(window==top) {
306    document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
307  }
308  //-->
309</SCRIPT>
310<NOSCRIPT>
311  <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
312</NOSCRIPT>
313
314
315</FONT></TD>
316</TR>
317<TR>
318<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
319  SUMMARY:&nbsp;<A HREF="#nested_classes_inherited_from_class_org.apache.zookeeper.ZooKeeper">NESTED</A>&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.apache.zookeeper.ZooKeeper">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
320<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
321DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
322</TR>
323</TABLE>
324<A NAME="skip-navbar_bottom"></A>
325<!-- ======== END OF BOTTOM NAVBAR ======= -->
326
327<HR>
328
329          <address>Copyright &copy; 2000-2012 Apache Software Foundation.  All Rights Reserved.</address>
330          <script src='../../../prettify.js' type='text/javascript'></script>
331          <script type='text/javascript'>
332            (function(){
333              var oldonload = window.onload;
334              if (typeof oldonload != 'function') {
335                window.onload = prettyPrint;
336              } else {
337                window.onload = function() {
338                  oldonload();
339                  prettyPrint();
340                }
341              }
342            })();
343          </script>
344       
345</BODY>
346</HTML>
Note: See TracBrowser for help on using the repository browser.