[7588] | 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> |
---|
| 8 | SolrZkClient (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"> |
---|
| 16 | function windowTitle() |
---|
| 17 | { |
---|
| 18 | if (location.href.indexOf('is-external=true') == -1) { |
---|
| 19 | parent.document.title="SolrZkClient (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> </TD> |
---|
| 42 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 43 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 44 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SolrZkClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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> |
---|
| 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 | <A HREF="../../../../../org/apache/solr/common/cloud/Slice.html" title="class in org.apache.solr.common.cloud"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkClientConnectionStrategy.html" title="class in org.apache.solr.common.cloud"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 60 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 61 | <A HREF="../../../../../index.html?org/apache/solr/common/cloud/SolrZkClient.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="SolrZkClient.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 63 | <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 80 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 81 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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"> |
---|
| 91 | org.apache.solr.common.cloud</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class SolrZkClient</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 "><B>org.apache.solr.common.cloud.SolrZkClient</B> |
---|
| 97 | </PRE> |
---|
| 98 | <HR> |
---|
| 99 | <DL> |
---|
| 100 | <DT><PRE>public class <B>SolrZkClient</B><DT>extends <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></DL> |
---|
| 101 | </PRE> |
---|
| 102 | |
---|
| 103 | <P> |
---|
| 104 | All Solr ZooKeeper interactions should go through this class rather than |
---|
| 105 | ZooKeeper. This class handles synchronous connects and reconnections. |
---|
| 106 | <P> |
---|
| 107 | |
---|
| 108 | <P> |
---|
| 109 | <HR> |
---|
| 110 | |
---|
| 111 | <P> |
---|
| 112 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 113 | |
---|
| 114 | <A NAME="field_summary"><!-- --></A> |
---|
| 115 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 116 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 117 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 118 | <B>Field Summary</B></FONT></TH> |
---|
| 119 | </TR> |
---|
| 120 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 121 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 122 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</A></CODE></FONT></TD> |
---|
| 123 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#numCloses">numCloses</A></B></CODE> |
---|
| 124 | |
---|
| 125 | <BR> |
---|
| 126 | </TD> |
---|
| 127 | </TR> |
---|
| 128 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 129 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 130 | <CODE>static <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</A></CODE></FONT></TD> |
---|
| 131 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#numOpens">numOpens</A></B></CODE> |
---|
| 132 | |
---|
| 133 | <BR> |
---|
| 134 | </TD> |
---|
| 135 | </TR> |
---|
| 136 | </TABLE> |
---|
| 137 | |
---|
| 138 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 139 | |
---|
| 140 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 141 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 142 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 143 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 144 | <B>Constructor Summary</B></FONT></TH> |
---|
| 145 | </TR> |
---|
| 146 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 147 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#SolrZkClient(java.lang.String, int)">SolrZkClient</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> zkServerAddress, |
---|
| 148 | int zkClientTimeout)</CODE> |
---|
| 149 | |
---|
| 150 | <BR> |
---|
| 151 | </TD> |
---|
| 152 | </TR> |
---|
| 153 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 154 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#SolrZkClient(java.lang.String, int, int, org.apache.solr.common.cloud.OnReconnect)">SolrZkClient</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> zkServerAddress, |
---|
| 155 | int zkClientTimeout, |
---|
| 156 | int zkClientConnectTimeout, |
---|
| 157 | <A HREF="../../../../../org/apache/solr/common/cloud/OnReconnect.html" title="interface in org.apache.solr.common.cloud">OnReconnect</A> onReonnect)</CODE> |
---|
| 158 | |
---|
| 159 | <BR> |
---|
| 160 | </TD> |
---|
| 161 | </TR> |
---|
| 162 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 163 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#SolrZkClient(java.lang.String, int, org.apache.solr.common.cloud.ZkClientConnectionStrategy, org.apache.solr.common.cloud.OnReconnect)">SolrZkClient</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> zkServerAddress, |
---|
| 164 | int zkClientTimeout, |
---|
| 165 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkClientConnectionStrategy.html" title="class in org.apache.solr.common.cloud">ZkClientConnectionStrategy</A> strat, |
---|
| 166 | <A HREF="../../../../../org/apache/solr/common/cloud/OnReconnect.html" title="interface in org.apache.solr.common.cloud">OnReconnect</A> onReconnect)</CODE> |
---|
| 167 | |
---|
| 168 | <BR> |
---|
| 169 | </TD> |
---|
| 170 | </TR> |
---|
| 171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 172 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#SolrZkClient(java.lang.String, int, org.apache.solr.common.cloud.ZkClientConnectionStrategy, org.apache.solr.common.cloud.OnReconnect, int)">SolrZkClient</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> zkServerAddress, |
---|
| 173 | int zkClientTimeout, |
---|
| 174 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkClientConnectionStrategy.html" title="class in org.apache.solr.common.cloud">ZkClientConnectionStrategy</A> strat, |
---|
| 175 | <A HREF="../../../../../org/apache/solr/common/cloud/OnReconnect.html" title="interface in org.apache.solr.common.cloud">OnReconnect</A> onReconnect, |
---|
| 176 | int clientConnectTimeout)</CODE> |
---|
| 177 | |
---|
| 178 | <BR> |
---|
| 179 | </TD> |
---|
| 180 | </TR> |
---|
| 181 | </TABLE> |
---|
| 182 | |
---|
| 183 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 184 | |
---|
| 185 | <A NAME="method_summary"><!-- --></A> |
---|
| 186 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 187 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 188 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 189 | <B>Method Summary</B></FONT></TH> |
---|
| 190 | </TR> |
---|
| 191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 193 | <CODE> void</CODE></FONT></TD> |
---|
| 194 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#close()">close</A></B>()</CODE> |
---|
| 195 | |
---|
| 196 | <BR> |
---|
| 197 | </TD> |
---|
| 198 | </TR> |
---|
| 199 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 200 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 201 | <CODE> <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></CODE></FONT></TD> |
---|
| 202 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#create(java.lang.String, byte[], org.apache.zookeeper.CreateMode, boolean)">create</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> path, |
---|
| 203 | byte[] data, |
---|
| 204 | org.apache.zookeeper.CreateMode createMode, |
---|
| 205 | boolean retryOnConnLoss)</CODE> |
---|
| 206 | |
---|
| 207 | <BR> |
---|
| 208 | </TD> |
---|
| 209 | </TR> |
---|
| 210 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 211 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 212 | <CODE> <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></CODE></FONT></TD> |
---|
| 213 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#create(java.lang.String, byte[], java.util.List, org.apache.zookeeper.CreateMode, boolean)">create</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> path, |
---|
| 214 | byte[] data, |
---|
| 215 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><org.apache.zookeeper.data.ACL> acl, |
---|
| 216 | org.apache.zookeeper.CreateMode createMode, |
---|
| 217 | boolean retryOnConnLoss)</CODE> |
---|
| 218 | |
---|
| 219 | <BR> |
---|
| 220 | </TD> |
---|
| 221 | </TR> |
---|
| 222 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 223 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 224 | <CODE> void</CODE></FONT></TD> |
---|
| 225 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#delete(java.lang.String, int, boolean)">delete</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> path, |
---|
| 226 | int version, |
---|
| 227 | boolean retryOnConnLoss)</CODE> |
---|
| 228 | |
---|
| 229 | <BR> |
---|
| 230 | </TD> |
---|
| 231 | </TR> |
---|
| 232 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 233 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 234 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A></CODE></FONT></TD> |
---|
| 235 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#exists(java.lang.String, boolean)">exists</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> path, |
---|
| 236 | boolean retryOnConnLoss)</CODE> |
---|
| 237 | |
---|
| 238 | <BR> |
---|
| 239 | </TD> |
---|
| 240 | </TR> |
---|
| 241 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 242 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 243 | <CODE> org.apache.zookeeper.data.Stat</CODE></FONT></TD> |
---|
| 244 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#exists(java.lang.String, org.apache.zookeeper.Watcher, boolean)">exists</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> path, |
---|
| 245 | org.apache.zookeeper.Watcher watcher, |
---|
| 246 | boolean retryOnConnLoss)</CODE> |
---|
| 247 | |
---|
| 248 | <BR> |
---|
| 249 | Return the stat of the node of the given path.</TD> |
---|
| 250 | </TR> |
---|
| 251 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 253 | <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>></CODE></FONT></TD> |
---|
| 254 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#getChildren(java.lang.String, org.apache.zookeeper.Watcher, boolean)">getChildren</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> path, |
---|
| 255 | org.apache.zookeeper.Watcher watcher, |
---|
| 256 | boolean retryOnConnLoss)</CODE> |
---|
| 257 | |
---|
| 258 | <BR> |
---|
| 259 | </TD> |
---|
| 260 | </TR> |
---|
| 261 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 262 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 263 | <CODE> byte[]</CODE></FONT></TD> |
---|
| 264 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#getData(java.lang.String, org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat, boolean)">getData</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> path, |
---|
| 265 | org.apache.zookeeper.Watcher watcher, |
---|
| 266 | org.apache.zookeeper.data.Stat stat, |
---|
| 267 | boolean retryOnConnLoss)</CODE> |
---|
| 268 | |
---|
| 269 | <BR> |
---|
| 270 | </TD> |
---|
| 271 | </TR> |
---|
| 272 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 273 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 274 | <CODE> <A HREF="../../../../../org/apache/zookeeper/SolrZooKeeper.html" title="class in org.apache.zookeeper">SolrZooKeeper</A></CODE></FONT></TD> |
---|
| 275 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#getSolrZooKeeper()">getSolrZooKeeper</A></B>()</CODE> |
---|
| 276 | |
---|
| 277 | <BR> |
---|
| 278 | </TD> |
---|
| 279 | </TR> |
---|
| 280 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 281 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 282 | <CODE> boolean</CODE></FONT></TD> |
---|
| 283 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#isClosed()">isClosed</A></B>()</CODE> |
---|
| 284 | |
---|
| 285 | <BR> |
---|
| 286 | </TD> |
---|
| 287 | </TR> |
---|
| 288 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 289 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 290 | <CODE> boolean</CODE></FONT></TD> |
---|
| 291 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#isConnected()">isConnected</A></B>()</CODE> |
---|
| 292 | |
---|
| 293 | <BR> |
---|
| 294 | </TD> |
---|
| 295 | </TR> |
---|
| 296 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 297 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 298 | <CODE> void</CODE></FONT></TD> |
---|
| 299 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, boolean)">makePath</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> path, |
---|
| 300 | boolean retryOnConnLoss)</CODE> |
---|
| 301 | |
---|
| 302 | <BR> |
---|
| 303 | Creates the path in ZooKeeper, creating each node as necessary.</TD> |
---|
| 304 | </TR> |
---|
| 305 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 306 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 307 | <CODE> void</CODE></FONT></TD> |
---|
| 308 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, boolean, boolean)">makePath</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> path, |
---|
| 309 | boolean failOnExists, |
---|
| 310 | boolean retryOnConnLoss)</CODE> |
---|
| 311 | |
---|
| 312 | <BR> |
---|
| 313 | </TD> |
---|
| 314 | </TR> |
---|
| 315 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 316 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 317 | <CODE> void</CODE></FONT></TD> |
---|
| 318 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, byte[], boolean)">makePath</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> path, |
---|
| 319 | byte[] data, |
---|
| 320 | boolean retryOnConnLoss)</CODE> |
---|
| 321 | |
---|
| 322 | <BR> |
---|
| 323 | Creates the path in ZooKeeper, creating each node as necessary.</TD> |
---|
| 324 | </TR> |
---|
| 325 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 327 | <CODE> void</CODE></FONT></TD> |
---|
| 328 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, byte[], org.apache.zookeeper.CreateMode, boolean)">makePath</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> path, |
---|
| 329 | byte[] data, |
---|
| 330 | org.apache.zookeeper.CreateMode createMode, |
---|
| 331 | boolean retryOnConnLoss)</CODE> |
---|
| 332 | |
---|
| 333 | <BR> |
---|
| 334 | Creates the path in ZooKeeper, creating each node as necessary.</TD> |
---|
| 335 | </TR> |
---|
| 336 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 337 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 338 | <CODE> void</CODE></FONT></TD> |
---|
| 339 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, byte[], org.apache.zookeeper.CreateMode, org.apache.zookeeper.Watcher, boolean)">makePath</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> path, |
---|
| 340 | byte[] data, |
---|
| 341 | org.apache.zookeeper.CreateMode createMode, |
---|
| 342 | org.apache.zookeeper.Watcher watcher, |
---|
| 343 | boolean retryOnConnLoss)</CODE> |
---|
| 344 | |
---|
| 345 | <BR> |
---|
| 346 | Creates the path in ZooKeeper, creating each node as necessary.</TD> |
---|
| 347 | </TR> |
---|
| 348 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 349 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 350 | <CODE> void</CODE></FONT></TD> |
---|
| 351 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, byte[], org.apache.zookeeper.CreateMode, org.apache.zookeeper.Watcher, boolean, boolean)">makePath</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> path, |
---|
| 352 | byte[] data, |
---|
| 353 | org.apache.zookeeper.CreateMode createMode, |
---|
| 354 | org.apache.zookeeper.Watcher watcher, |
---|
| 355 | boolean failOnExists, |
---|
| 356 | boolean retryOnConnLoss)</CODE> |
---|
| 357 | |
---|
| 358 | <BR> |
---|
| 359 | Creates the path in ZooKeeper, creating each node as necessary.</TD> |
---|
| 360 | </TR> |
---|
| 361 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 363 | <CODE> void</CODE></FONT></TD> |
---|
| 364 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, org.apache.zookeeper.CreateMode, boolean)">makePath</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> path, |
---|
| 365 | org.apache.zookeeper.CreateMode createMode, |
---|
| 366 | boolean retryOnConnLoss)</CODE> |
---|
| 367 | |
---|
| 368 | <BR> |
---|
| 369 | </TD> |
---|
| 370 | </TR> |
---|
| 371 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 372 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 373 | <CODE> void</CODE></FONT></TD> |
---|
| 374 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, org.apache.zookeeper.CreateMode, org.apache.zookeeper.Watcher, boolean)">makePath</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> zkPath, |
---|
| 375 | org.apache.zookeeper.CreateMode createMode, |
---|
| 376 | org.apache.zookeeper.Watcher watcher, |
---|
| 377 | boolean retryOnConnLoss)</CODE> |
---|
| 378 | |
---|
| 379 | <BR> |
---|
| 380 | </TD> |
---|
| 381 | </TR> |
---|
| 382 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 383 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 384 | <CODE> void</CODE></FONT></TD> |
---|
| 385 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, java.io.File, boolean)">makePath</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> path, |
---|
| 386 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file, |
---|
| 387 | boolean retryOnConnLoss)</CODE> |
---|
| 388 | |
---|
| 389 | <BR> |
---|
| 390 | </TD> |
---|
| 391 | </TR> |
---|
| 392 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 393 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 394 | <CODE> void</CODE></FONT></TD> |
---|
| 395 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#makePath(java.lang.String, java.io.File, boolean, boolean)">makePath</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> path, |
---|
| 396 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file, |
---|
| 397 | boolean failOnExists, |
---|
| 398 | boolean retryOnConnLoss)</CODE> |
---|
| 399 | |
---|
| 400 | <BR> |
---|
| 401 | </TD> |
---|
| 402 | </TR> |
---|
| 403 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 404 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 405 | <CODE>static <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></CODE></FONT></TD> |
---|
| 406 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#prettyPrint(java.lang.String, int)">prettyPrint</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> input, |
---|
| 407 | int indent)</CODE> |
---|
| 408 | |
---|
| 409 | <BR> |
---|
| 410 | </TD> |
---|
| 411 | </TR> |
---|
| 412 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 413 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 414 | <CODE> void</CODE></FONT></TD> |
---|
| 415 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#printLayout(java.lang.String, int, java.lang.StringBuilder)">printLayout</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> path, |
---|
| 416 | int indent, |
---|
| 417 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A> string)</CODE> |
---|
| 418 | |
---|
| 419 | <BR> |
---|
| 420 | Fills string with printout of current ZooKeeper layout.</TD> |
---|
| 421 | </TR> |
---|
| 422 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 423 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 424 | <CODE> void</CODE></FONT></TD> |
---|
| 425 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#printLayoutToStdOut()">printLayoutToStdOut</A></B>()</CODE> |
---|
| 426 | |
---|
| 427 | <BR> |
---|
| 428 | Prints current ZooKeeper layout to stdout.</TD> |
---|
| 429 | </TR> |
---|
| 430 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 431 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 432 | <CODE> void</CODE></FONT></TD> |
---|
| 433 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#setData(java.lang.String, byte[], boolean)">setData</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> path, |
---|
| 434 | byte[] data, |
---|
| 435 | boolean retryOnConnLoss)</CODE> |
---|
| 436 | |
---|
| 437 | <BR> |
---|
| 438 | Write data to ZooKeeper.</TD> |
---|
| 439 | </TR> |
---|
| 440 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 441 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 442 | <CODE> org.apache.zookeeper.data.Stat</CODE></FONT></TD> |
---|
| 443 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#setData(java.lang.String, byte[], int, boolean)">setData</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> path, |
---|
| 444 | byte[] data, |
---|
| 445 | int version, |
---|
| 446 | boolean retryOnConnLoss)</CODE> |
---|
| 447 | |
---|
| 448 | <BR> |
---|
| 449 | </TD> |
---|
| 450 | </TR> |
---|
| 451 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 452 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 453 | <CODE> void</CODE></FONT></TD> |
---|
| 454 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html#setData(java.lang.String, java.io.File, boolean)">setData</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> path, |
---|
| 455 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file, |
---|
| 456 | boolean retryOnConnLoss)</CODE> |
---|
| 457 | |
---|
| 458 | <BR> |
---|
| 459 | Write file to ZooKeeper - default system encoding used.</TD> |
---|
| 460 | </TR> |
---|
| 461 | </TABLE> |
---|
| 462 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 463 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 464 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 465 | <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> |
---|
| 466 | </TR> |
---|
| 467 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 468 | <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#toString()" title="class or interface in java.lang">toString</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> |
---|
| 469 | </TR> |
---|
| 470 | </TABLE> |
---|
| 471 | |
---|
| 472 | <P> |
---|
| 473 | |
---|
| 474 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 475 | |
---|
| 476 | <A NAME="field_detail"><!-- --></A> |
---|
| 477 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 478 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 479 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 480 | <B>Field Detail</B></FONT></TH> |
---|
| 481 | </TR> |
---|
| 482 | </TABLE> |
---|
| 483 | |
---|
| 484 | <A NAME="numOpens"><!-- --></A><H3> |
---|
| 485 | numOpens</H3> |
---|
| 486 | <PRE> |
---|
| 487 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</A> <B>numOpens</B></PRE> |
---|
| 488 | <DL> |
---|
| 489 | <DL> |
---|
| 490 | </DL> |
---|
| 491 | </DL> |
---|
| 492 | <HR> |
---|
| 493 | |
---|
| 494 | <A NAME="numCloses"><!-- --></A><H3> |
---|
| 495 | numCloses</H3> |
---|
| 496 | <PRE> |
---|
| 497 | public static final <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/atomic/AtomicLong.html?is-external=true" title="class or interface in java.util.concurrent.atomic">AtomicLong</A> <B>numCloses</B></PRE> |
---|
| 498 | <DL> |
---|
| 499 | <DL> |
---|
| 500 | </DL> |
---|
| 501 | </DL> |
---|
| 502 | |
---|
| 503 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 504 | |
---|
| 505 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 506 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 507 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 508 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 509 | <B>Constructor Detail</B></FONT></TH> |
---|
| 510 | </TR> |
---|
| 511 | </TABLE> |
---|
| 512 | |
---|
| 513 | <A NAME="SolrZkClient(java.lang.String, int)"><!-- --></A><H3> |
---|
| 514 | SolrZkClient</H3> |
---|
| 515 | <PRE> |
---|
| 516 | public <B>SolrZkClient</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> zkServerAddress, |
---|
| 517 | int zkClientTimeout) |
---|
| 518 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A>, |
---|
| 519 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A>, |
---|
| 520 | <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> |
---|
| 521 | <DL> |
---|
| 522 | <DL> |
---|
| 523 | <DT><B>Parameters:</B><DD><CODE>zkServerAddress</CODE> - <DD><CODE>zkClientTimeout</CODE> - |
---|
| 524 | <DT><B>Throws:</B> |
---|
| 525 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE> |
---|
| 526 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A></CODE> |
---|
| 527 | <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> |
---|
| 528 | </DL> |
---|
| 529 | <HR> |
---|
| 530 | |
---|
| 531 | <A NAME="SolrZkClient(java.lang.String, int, int, org.apache.solr.common.cloud.OnReconnect)"><!-- --></A><H3> |
---|
| 532 | SolrZkClient</H3> |
---|
| 533 | <PRE> |
---|
| 534 | public <B>SolrZkClient</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> zkServerAddress, |
---|
| 535 | int zkClientTimeout, |
---|
| 536 | int zkClientConnectTimeout, |
---|
| 537 | <A HREF="../../../../../org/apache/solr/common/cloud/OnReconnect.html" title="interface in org.apache.solr.common.cloud">OnReconnect</A> onReonnect) |
---|
| 538 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A>, |
---|
| 539 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A>, |
---|
| 540 | <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> |
---|
| 541 | <DL> |
---|
| 542 | <DL> |
---|
| 543 | |
---|
| 544 | <DT><B>Throws:</B> |
---|
| 545 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE> |
---|
| 546 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A></CODE> |
---|
| 547 | <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> |
---|
| 548 | </DL> |
---|
| 549 | <HR> |
---|
| 550 | |
---|
| 551 | <A NAME="SolrZkClient(java.lang.String, int, org.apache.solr.common.cloud.ZkClientConnectionStrategy, org.apache.solr.common.cloud.OnReconnect)"><!-- --></A><H3> |
---|
| 552 | SolrZkClient</H3> |
---|
| 553 | <PRE> |
---|
| 554 | public <B>SolrZkClient</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> zkServerAddress, |
---|
| 555 | int zkClientTimeout, |
---|
| 556 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkClientConnectionStrategy.html" title="class in org.apache.solr.common.cloud">ZkClientConnectionStrategy</A> strat, |
---|
| 557 | <A HREF="../../../../../org/apache/solr/common/cloud/OnReconnect.html" title="interface in org.apache.solr.common.cloud">OnReconnect</A> onReconnect) |
---|
| 558 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A>, |
---|
| 559 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A>, |
---|
| 560 | <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> |
---|
| 561 | <DL> |
---|
| 562 | <DL> |
---|
| 563 | <DT><B>Parameters:</B><DD><CODE>zkServerAddress</CODE> - <DD><CODE>zkClientTimeout</CODE> - <DD><CODE>strat</CODE> - <DD><CODE>onReconnect</CODE> - |
---|
| 564 | <DT><B>Throws:</B> |
---|
| 565 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE> |
---|
| 566 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A></CODE> |
---|
| 567 | <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> |
---|
| 568 | </DL> |
---|
| 569 | <HR> |
---|
| 570 | |
---|
| 571 | <A NAME="SolrZkClient(java.lang.String, int, org.apache.solr.common.cloud.ZkClientConnectionStrategy, org.apache.solr.common.cloud.OnReconnect, int)"><!-- --></A><H3> |
---|
| 572 | SolrZkClient</H3> |
---|
| 573 | <PRE> |
---|
| 574 | public <B>SolrZkClient</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> zkServerAddress, |
---|
| 575 | int zkClientTimeout, |
---|
| 576 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkClientConnectionStrategy.html" title="class in org.apache.solr.common.cloud">ZkClientConnectionStrategy</A> strat, |
---|
| 577 | <A HREF="../../../../../org/apache/solr/common/cloud/OnReconnect.html" title="interface in org.apache.solr.common.cloud">OnReconnect</A> onReconnect, |
---|
| 578 | int clientConnectTimeout) |
---|
| 579 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A>, |
---|
| 580 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A>, |
---|
| 581 | <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> |
---|
| 582 | <DL> |
---|
| 583 | <DL> |
---|
| 584 | <DT><B>Parameters:</B><DD><CODE>zkServerAddress</CODE> - <DD><CODE>zkClientTimeout</CODE> - <DD><CODE>strat</CODE> - <DD><CODE>onReconnect</CODE> - <DD><CODE>clientConnectTimeout</CODE> - |
---|
| 585 | <DT><B>Throws:</B> |
---|
| 586 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE> |
---|
| 587 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/util/concurrent/TimeoutException.html?is-external=true" title="class or interface in java.util.concurrent">TimeoutException</A></CODE> |
---|
| 588 | <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> |
---|
| 589 | </DL> |
---|
| 590 | |
---|
| 591 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 592 | |
---|
| 593 | <A NAME="method_detail"><!-- --></A> |
---|
| 594 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 595 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 596 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 597 | <B>Method Detail</B></FONT></TH> |
---|
| 598 | </TR> |
---|
| 599 | </TABLE> |
---|
| 600 | |
---|
| 601 | <A NAME="isConnected()"><!-- --></A><H3> |
---|
| 602 | isConnected</H3> |
---|
| 603 | <PRE> |
---|
| 604 | public boolean <B>isConnected</B>()</PRE> |
---|
| 605 | <DL> |
---|
| 606 | <DD><DL> |
---|
| 607 | |
---|
| 608 | <DT><B>Returns:</B><DD>true if client is connected</DL> |
---|
| 609 | </DD> |
---|
| 610 | </DL> |
---|
| 611 | <HR> |
---|
| 612 | |
---|
| 613 | <A NAME="delete(java.lang.String, int, boolean)"><!-- --></A><H3> |
---|
| 614 | delete</H3> |
---|
| 615 | <PRE> |
---|
| 616 | public void <B>delete</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> path, |
---|
| 617 | int version, |
---|
| 618 | boolean retryOnConnLoss) |
---|
| 619 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A>, |
---|
| 620 | org.apache.zookeeper.KeeperException</PRE> |
---|
| 621 | <DL> |
---|
| 622 | <DD><DL> |
---|
| 623 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>version</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 624 | <DT><B>Throws:</B> |
---|
| 625 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE> |
---|
| 626 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE></DL> |
---|
| 627 | </DD> |
---|
| 628 | </DL> |
---|
| 629 | <HR> |
---|
| 630 | |
---|
| 631 | <A NAME="exists(java.lang.String, org.apache.zookeeper.Watcher, boolean)"><!-- --></A><H3> |
---|
| 632 | exists</H3> |
---|
| 633 | <PRE> |
---|
| 634 | public org.apache.zookeeper.data.Stat <B>exists</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> path, |
---|
| 635 | org.apache.zookeeper.Watcher watcher, |
---|
| 636 | boolean retryOnConnLoss) |
---|
| 637 | throws org.apache.zookeeper.KeeperException, |
---|
| 638 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 639 | <DL> |
---|
| 640 | <DD>Return the stat of the node of the given path. Return null if no such a |
---|
| 641 | node exists. |
---|
| 642 | <p> |
---|
| 643 | If the watch is non-null and the call is successful (no exception is thrown), |
---|
| 644 | a watch will be left on the node with the given path. The watch will be |
---|
| 645 | triggered by a successful operation that creates/delete the node or sets |
---|
| 646 | the data on the node. |
---|
| 647 | <P> |
---|
| 648 | <DD><DL> |
---|
| 649 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - the node path<DD><CODE>watcher</CODE> - explicit watcher<DD><CODE>retryOnConnLoss</CODE> - |
---|
| 650 | <DT><B>Returns:</B><DD>the stat of the node of the given path; return null if no such a |
---|
| 651 | node exists. |
---|
| 652 | <DT><B>Throws:</B> |
---|
| 653 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> - If the server signals an error |
---|
| 654 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE> - If the server transaction is interrupted. |
---|
| 655 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/IllegalArgumentException.html?is-external=true" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if an invalid path is specified</DL> |
---|
| 656 | </DD> |
---|
| 657 | </DL> |
---|
| 658 | <HR> |
---|
| 659 | |
---|
| 660 | <A NAME="exists(java.lang.String, boolean)"><!-- --></A><H3> |
---|
| 661 | exists</H3> |
---|
| 662 | <PRE> |
---|
| 663 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Boolean.html?is-external=true" title="class or interface in java.lang">Boolean</A> <B>exists</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> path, |
---|
| 664 | boolean retryOnConnLoss) |
---|
| 665 | throws org.apache.zookeeper.KeeperException, |
---|
| 666 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 667 | <DL> |
---|
| 668 | <DD><DL> |
---|
| 669 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 670 | <DT><B>Returns:</B><DD>true if path exists |
---|
| 671 | <DT><B>Throws:</B> |
---|
| 672 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 673 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 674 | </DD> |
---|
| 675 | </DL> |
---|
| 676 | <HR> |
---|
| 677 | |
---|
| 678 | <A NAME="create(java.lang.String, byte[], java.util.List, org.apache.zookeeper.CreateMode, boolean)"><!-- --></A><H3> |
---|
| 679 | create</H3> |
---|
| 680 | <PRE> |
---|
| 681 | public <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> <B>create</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> path, |
---|
| 682 | byte[] data, |
---|
| 683 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><org.apache.zookeeper.data.ACL> acl, |
---|
| 684 | org.apache.zookeeper.CreateMode createMode, |
---|
| 685 | boolean retryOnConnLoss) |
---|
| 686 | throws org.apache.zookeeper.KeeperException, |
---|
| 687 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 688 | <DL> |
---|
| 689 | <DD><DL> |
---|
| 690 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - <DD><CODE>acl</CODE> - <DD><CODE>createMode</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 691 | <DT><B>Returns:</B><DD>path of created node |
---|
| 692 | <DT><B>Throws:</B> |
---|
| 693 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 694 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 695 | </DD> |
---|
| 696 | </DL> |
---|
| 697 | <HR> |
---|
| 698 | |
---|
| 699 | <A NAME="getChildren(java.lang.String, org.apache.zookeeper.Watcher, boolean)"><!-- --></A><H3> |
---|
| 700 | getChildren</H3> |
---|
| 701 | <PRE> |
---|
| 702 | public <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/List.html?is-external=true" title="class or interface in java.util">List</A><<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>> <B>getChildren</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> path, |
---|
| 703 | org.apache.zookeeper.Watcher watcher, |
---|
| 704 | boolean retryOnConnLoss) |
---|
| 705 | throws org.apache.zookeeper.KeeperException, |
---|
| 706 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 707 | <DL> |
---|
| 708 | <DD><DL> |
---|
| 709 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>watcher</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 710 | <DT><B>Returns:</B><DD>children of the node at the path |
---|
| 711 | <DT><B>Throws:</B> |
---|
| 712 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 713 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 714 | </DD> |
---|
| 715 | </DL> |
---|
| 716 | <HR> |
---|
| 717 | |
---|
| 718 | <A NAME="getData(java.lang.String, org.apache.zookeeper.Watcher, org.apache.zookeeper.data.Stat, boolean)"><!-- --></A><H3> |
---|
| 719 | getData</H3> |
---|
| 720 | <PRE> |
---|
| 721 | public byte[] <B>getData</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> path, |
---|
| 722 | org.apache.zookeeper.Watcher watcher, |
---|
| 723 | org.apache.zookeeper.data.Stat stat, |
---|
| 724 | boolean retryOnConnLoss) |
---|
| 725 | throws org.apache.zookeeper.KeeperException, |
---|
| 726 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 727 | <DL> |
---|
| 728 | <DD><DL> |
---|
| 729 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>watcher</CODE> - <DD><CODE>stat</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 730 | <DT><B>Returns:</B><DD>node's data |
---|
| 731 | <DT><B>Throws:</B> |
---|
| 732 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 733 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 734 | </DD> |
---|
| 735 | </DL> |
---|
| 736 | <HR> |
---|
| 737 | |
---|
| 738 | <A NAME="setData(java.lang.String, byte[], int, boolean)"><!-- --></A><H3> |
---|
| 739 | setData</H3> |
---|
| 740 | <PRE> |
---|
| 741 | public org.apache.zookeeper.data.Stat <B>setData</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> path, |
---|
| 742 | byte[] data, |
---|
| 743 | int version, |
---|
| 744 | boolean retryOnConnLoss) |
---|
| 745 | throws org.apache.zookeeper.KeeperException, |
---|
| 746 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 747 | <DL> |
---|
| 748 | <DD><DL> |
---|
| 749 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - <DD><CODE>version</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 750 | <DT><B>Returns:</B><DD>node's state |
---|
| 751 | <DT><B>Throws:</B> |
---|
| 752 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 753 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 754 | </DD> |
---|
| 755 | </DL> |
---|
| 756 | <HR> |
---|
| 757 | |
---|
| 758 | <A NAME="create(java.lang.String, byte[], org.apache.zookeeper.CreateMode, boolean)"><!-- --></A><H3> |
---|
| 759 | create</H3> |
---|
| 760 | <PRE> |
---|
| 761 | public <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> <B>create</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> path, |
---|
| 762 | byte[] data, |
---|
| 763 | org.apache.zookeeper.CreateMode createMode, |
---|
| 764 | boolean retryOnConnLoss) |
---|
| 765 | throws org.apache.zookeeper.KeeperException, |
---|
| 766 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 767 | <DL> |
---|
| 768 | <DD><DL> |
---|
| 769 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - <DD><CODE>createMode</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 770 | <DT><B>Returns:</B><DD>path of created node |
---|
| 771 | <DT><B>Throws:</B> |
---|
| 772 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 773 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 774 | </DD> |
---|
| 775 | </DL> |
---|
| 776 | <HR> |
---|
| 777 | |
---|
| 778 | <A NAME="makePath(java.lang.String, boolean)"><!-- --></A><H3> |
---|
| 779 | makePath</H3> |
---|
| 780 | <PRE> |
---|
| 781 | public void <B>makePath</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> path, |
---|
| 782 | boolean retryOnConnLoss) |
---|
| 783 | throws org.apache.zookeeper.KeeperException, |
---|
| 784 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 785 | <DL> |
---|
| 786 | <DD>Creates the path in ZooKeeper, creating each node as necessary. |
---|
| 787 | |
---|
| 788 | e.g. If <code>path=/solr/group/node</code> and none of the nodes, solr, |
---|
| 789 | group, node exist, each will be created. |
---|
| 790 | <P> |
---|
| 791 | <DD><DL> |
---|
| 792 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 793 | <DT><B>Throws:</B> |
---|
| 794 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 795 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 796 | </DD> |
---|
| 797 | </DL> |
---|
| 798 | <HR> |
---|
| 799 | |
---|
| 800 | <A NAME="makePath(java.lang.String, boolean, boolean)"><!-- --></A><H3> |
---|
| 801 | makePath</H3> |
---|
| 802 | <PRE> |
---|
| 803 | public void <B>makePath</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> path, |
---|
| 804 | boolean failOnExists, |
---|
| 805 | boolean retryOnConnLoss) |
---|
| 806 | throws org.apache.zookeeper.KeeperException, |
---|
| 807 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 808 | <DL> |
---|
| 809 | <DD><DL> |
---|
| 810 | |
---|
| 811 | <DT><B>Throws:</B> |
---|
| 812 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 813 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 814 | </DD> |
---|
| 815 | </DL> |
---|
| 816 | <HR> |
---|
| 817 | |
---|
| 818 | <A NAME="makePath(java.lang.String, java.io.File, boolean, boolean)"><!-- --></A><H3> |
---|
| 819 | makePath</H3> |
---|
| 820 | <PRE> |
---|
| 821 | public void <B>makePath</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> path, |
---|
| 822 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file, |
---|
| 823 | boolean failOnExists, |
---|
| 824 | boolean retryOnConnLoss) |
---|
| 825 | 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>, |
---|
| 826 | org.apache.zookeeper.KeeperException, |
---|
| 827 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 828 | <DL> |
---|
| 829 | <DD><DL> |
---|
| 830 | |
---|
| 831 | <DT><B>Throws:</B> |
---|
| 832 | <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> |
---|
| 833 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 834 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 835 | </DD> |
---|
| 836 | </DL> |
---|
| 837 | <HR> |
---|
| 838 | |
---|
| 839 | <A NAME="makePath(java.lang.String, java.io.File, boolean)"><!-- --></A><H3> |
---|
| 840 | makePath</H3> |
---|
| 841 | <PRE> |
---|
| 842 | public void <B>makePath</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> path, |
---|
| 843 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file, |
---|
| 844 | boolean retryOnConnLoss) |
---|
| 845 | 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>, |
---|
| 846 | org.apache.zookeeper.KeeperException, |
---|
| 847 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 848 | <DL> |
---|
| 849 | <DD><DL> |
---|
| 850 | |
---|
| 851 | <DT><B>Throws:</B> |
---|
| 852 | <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> |
---|
| 853 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 854 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 855 | </DD> |
---|
| 856 | </DL> |
---|
| 857 | <HR> |
---|
| 858 | |
---|
| 859 | <A NAME="makePath(java.lang.String, org.apache.zookeeper.CreateMode, boolean)"><!-- --></A><H3> |
---|
| 860 | makePath</H3> |
---|
| 861 | <PRE> |
---|
| 862 | public void <B>makePath</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> path, |
---|
| 863 | org.apache.zookeeper.CreateMode createMode, |
---|
| 864 | boolean retryOnConnLoss) |
---|
| 865 | throws org.apache.zookeeper.KeeperException, |
---|
| 866 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 867 | <DL> |
---|
| 868 | <DD><DL> |
---|
| 869 | |
---|
| 870 | <DT><B>Throws:</B> |
---|
| 871 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 872 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 873 | </DD> |
---|
| 874 | </DL> |
---|
| 875 | <HR> |
---|
| 876 | |
---|
| 877 | <A NAME="makePath(java.lang.String, byte[], boolean)"><!-- --></A><H3> |
---|
| 878 | makePath</H3> |
---|
| 879 | <PRE> |
---|
| 880 | public void <B>makePath</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> path, |
---|
| 881 | byte[] data, |
---|
| 882 | boolean retryOnConnLoss) |
---|
| 883 | throws org.apache.zookeeper.KeeperException, |
---|
| 884 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 885 | <DL> |
---|
| 886 | <DD>Creates the path in ZooKeeper, creating each node as necessary. |
---|
| 887 | <P> |
---|
| 888 | <DD><DL> |
---|
| 889 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - to set on the last zkNode<DD><CODE>retryOnConnLoss</CODE> - |
---|
| 890 | <DT><B>Throws:</B> |
---|
| 891 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 892 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 893 | </DD> |
---|
| 894 | </DL> |
---|
| 895 | <HR> |
---|
| 896 | |
---|
| 897 | <A NAME="makePath(java.lang.String, byte[], org.apache.zookeeper.CreateMode, boolean)"><!-- --></A><H3> |
---|
| 898 | makePath</H3> |
---|
| 899 | <PRE> |
---|
| 900 | public void <B>makePath</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> path, |
---|
| 901 | byte[] data, |
---|
| 902 | org.apache.zookeeper.CreateMode createMode, |
---|
| 903 | boolean retryOnConnLoss) |
---|
| 904 | throws org.apache.zookeeper.KeeperException, |
---|
| 905 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 906 | <DL> |
---|
| 907 | <DD>Creates the path in ZooKeeper, creating each node as necessary. |
---|
| 908 | |
---|
| 909 | e.g. If <code>path=/solr/group/node</code> and none of the nodes, solr, |
---|
| 910 | group, node exist, each will be created. |
---|
| 911 | <P> |
---|
| 912 | <DD><DL> |
---|
| 913 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - to set on the last zkNode<DD><CODE>createMode</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 914 | <DT><B>Throws:</B> |
---|
| 915 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 916 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 917 | </DD> |
---|
| 918 | </DL> |
---|
| 919 | <HR> |
---|
| 920 | |
---|
| 921 | <A NAME="makePath(java.lang.String, byte[], org.apache.zookeeper.CreateMode, org.apache.zookeeper.Watcher, boolean)"><!-- --></A><H3> |
---|
| 922 | makePath</H3> |
---|
| 923 | <PRE> |
---|
| 924 | public void <B>makePath</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> path, |
---|
| 925 | byte[] data, |
---|
| 926 | org.apache.zookeeper.CreateMode createMode, |
---|
| 927 | org.apache.zookeeper.Watcher watcher, |
---|
| 928 | boolean retryOnConnLoss) |
---|
| 929 | throws org.apache.zookeeper.KeeperException, |
---|
| 930 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 931 | <DL> |
---|
| 932 | <DD>Creates the path in ZooKeeper, creating each node as necessary. |
---|
| 933 | |
---|
| 934 | e.g. If <code>path=/solr/group/node</code> and none of the nodes, solr, |
---|
| 935 | group, node exist, each will be created. |
---|
| 936 | <P> |
---|
| 937 | <DD><DL> |
---|
| 938 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - to set on the last zkNode<DD><CODE>createMode</CODE> - <DD><CODE>watcher</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 939 | <DT><B>Throws:</B> |
---|
| 940 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 941 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 942 | </DD> |
---|
| 943 | </DL> |
---|
| 944 | <HR> |
---|
| 945 | |
---|
| 946 | <A NAME="makePath(java.lang.String, byte[], org.apache.zookeeper.CreateMode, org.apache.zookeeper.Watcher, boolean, boolean)"><!-- --></A><H3> |
---|
| 947 | makePath</H3> |
---|
| 948 | <PRE> |
---|
| 949 | public void <B>makePath</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> path, |
---|
| 950 | byte[] data, |
---|
| 951 | org.apache.zookeeper.CreateMode createMode, |
---|
| 952 | org.apache.zookeeper.Watcher watcher, |
---|
| 953 | boolean failOnExists, |
---|
| 954 | boolean retryOnConnLoss) |
---|
| 955 | throws org.apache.zookeeper.KeeperException, |
---|
| 956 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 957 | <DL> |
---|
| 958 | <DD>Creates the path in ZooKeeper, creating each node as necessary. |
---|
| 959 | |
---|
| 960 | e.g. If <code>path=/solr/group/node</code> and none of the nodes, solr, |
---|
| 961 | group, node exist, each will be created. |
---|
| 962 | |
---|
| 963 | Note: retryOnConnLoss is only respected for the final node - nodes |
---|
| 964 | before that are always retried on connection loss. |
---|
| 965 | <P> |
---|
| 966 | <DD><DL> |
---|
| 967 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - <DD><CODE>createMode</CODE> - <DD><CODE>watcher</CODE> - <DD><CODE>failOnExists</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 968 | <DT><B>Throws:</B> |
---|
| 969 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 970 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 971 | </DD> |
---|
| 972 | </DL> |
---|
| 973 | <HR> |
---|
| 974 | |
---|
| 975 | <A NAME="makePath(java.lang.String, org.apache.zookeeper.CreateMode, org.apache.zookeeper.Watcher, boolean)"><!-- --></A><H3> |
---|
| 976 | makePath</H3> |
---|
| 977 | <PRE> |
---|
| 978 | public void <B>makePath</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> zkPath, |
---|
| 979 | org.apache.zookeeper.CreateMode createMode, |
---|
| 980 | org.apache.zookeeper.Watcher watcher, |
---|
| 981 | boolean retryOnConnLoss) |
---|
| 982 | throws org.apache.zookeeper.KeeperException, |
---|
| 983 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 984 | <DL> |
---|
| 985 | <DD><DL> |
---|
| 986 | <DT><B>Parameters:</B><DD><CODE>zkPath</CODE> - <DD><CODE>createMode</CODE> - <DD><CODE>watcher</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 987 | <DT><B>Throws:</B> |
---|
| 988 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 989 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 990 | </DD> |
---|
| 991 | </DL> |
---|
| 992 | <HR> |
---|
| 993 | |
---|
| 994 | <A NAME="setData(java.lang.String, byte[], boolean)"><!-- --></A><H3> |
---|
| 995 | setData</H3> |
---|
| 996 | <PRE> |
---|
| 997 | public void <B>setData</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> path, |
---|
| 998 | byte[] data, |
---|
| 999 | boolean retryOnConnLoss) |
---|
| 1000 | throws org.apache.zookeeper.KeeperException, |
---|
| 1001 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 1002 | <DL> |
---|
| 1003 | <DD>Write data to ZooKeeper. |
---|
| 1004 | <P> |
---|
| 1005 | <DD><DL> |
---|
| 1006 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>data</CODE> - <DD><CODE>retryOnConnLoss</CODE> - |
---|
| 1007 | <DT><B>Throws:</B> |
---|
| 1008 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 1009 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 1010 | </DD> |
---|
| 1011 | </DL> |
---|
| 1012 | <HR> |
---|
| 1013 | |
---|
| 1014 | <A NAME="setData(java.lang.String, java.io.File, boolean)"><!-- --></A><H3> |
---|
| 1015 | setData</H3> |
---|
| 1016 | <PRE> |
---|
| 1017 | public void <B>setData</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> path, |
---|
| 1018 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/io/File.html?is-external=true" title="class or interface in java.io">File</A> file, |
---|
| 1019 | boolean retryOnConnLoss) |
---|
| 1020 | 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>, |
---|
| 1021 | org.apache.zookeeper.KeeperException, |
---|
| 1022 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 1023 | <DL> |
---|
| 1024 | <DD>Write file to ZooKeeper - default system encoding used. |
---|
| 1025 | <P> |
---|
| 1026 | <DD><DL> |
---|
| 1027 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - path to upload file to e.g. /solr/conf/solrconfig.xml<DD><CODE>file</CODE> - path to file to be uploaded<DD><CODE>retryOnConnLoss</CODE> - |
---|
| 1028 | <DT><B>Throws:</B> |
---|
| 1029 | <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> |
---|
| 1030 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 1031 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 1032 | </DD> |
---|
| 1033 | </DL> |
---|
| 1034 | <HR> |
---|
| 1035 | |
---|
| 1036 | <A NAME="printLayout(java.lang.String, int, java.lang.StringBuilder)"><!-- --></A><H3> |
---|
| 1037 | printLayout</H3> |
---|
| 1038 | <PRE> |
---|
| 1039 | public void <B>printLayout</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> path, |
---|
| 1040 | int indent, |
---|
| 1041 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/StringBuilder.html?is-external=true" title="class or interface in java.lang">StringBuilder</A> string) |
---|
| 1042 | throws org.apache.zookeeper.KeeperException, |
---|
| 1043 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 1044 | <DL> |
---|
| 1045 | <DD>Fills string with printout of current ZooKeeper layout. |
---|
| 1046 | <P> |
---|
| 1047 | <DD><DL> |
---|
| 1048 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - <DD><CODE>indent</CODE> - |
---|
| 1049 | <DT><B>Throws:</B> |
---|
| 1050 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 1051 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 1052 | </DD> |
---|
| 1053 | </DL> |
---|
| 1054 | <HR> |
---|
| 1055 | |
---|
| 1056 | <A NAME="printLayoutToStdOut()"><!-- --></A><H3> |
---|
| 1057 | printLayoutToStdOut</H3> |
---|
| 1058 | <PRE> |
---|
| 1059 | public void <B>printLayoutToStdOut</B>() |
---|
| 1060 | throws org.apache.zookeeper.KeeperException, |
---|
| 1061 | <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 1062 | <DL> |
---|
| 1063 | <DD>Prints current ZooKeeper layout to stdout. |
---|
| 1064 | <P> |
---|
| 1065 | <DD><DL> |
---|
| 1066 | |
---|
| 1067 | <DT><B>Throws:</B> |
---|
| 1068 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 1069 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 1070 | </DD> |
---|
| 1071 | </DL> |
---|
| 1072 | <HR> |
---|
| 1073 | |
---|
| 1074 | <A NAME="prettyPrint(java.lang.String, int)"><!-- --></A><H3> |
---|
| 1075 | prettyPrint</H3> |
---|
| 1076 | <PRE> |
---|
| 1077 | public static <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> <B>prettyPrint</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> input, |
---|
| 1078 | int indent)</PRE> |
---|
| 1079 | <DL> |
---|
| 1080 | <DD><DL> |
---|
| 1081 | </DL> |
---|
| 1082 | </DD> |
---|
| 1083 | </DL> |
---|
| 1084 | <HR> |
---|
| 1085 | |
---|
| 1086 | <A NAME="close()"><!-- --></A><H3> |
---|
| 1087 | close</H3> |
---|
| 1088 | <PRE> |
---|
| 1089 | public void <B>close</B>() |
---|
| 1090 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></PRE> |
---|
| 1091 | <DL> |
---|
| 1092 | <DD><DL> |
---|
| 1093 | |
---|
| 1094 | <DT><B>Throws:</B> |
---|
| 1095 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/InterruptedException.html?is-external=true" title="class or interface in java.lang">InterruptedException</A></CODE></DL> |
---|
| 1096 | </DD> |
---|
| 1097 | </DL> |
---|
| 1098 | <HR> |
---|
| 1099 | |
---|
| 1100 | <A NAME="isClosed()"><!-- --></A><H3> |
---|
| 1101 | isClosed</H3> |
---|
| 1102 | <PRE> |
---|
| 1103 | public boolean <B>isClosed</B>()</PRE> |
---|
| 1104 | <DL> |
---|
| 1105 | <DD><DL> |
---|
| 1106 | </DL> |
---|
| 1107 | </DD> |
---|
| 1108 | </DL> |
---|
| 1109 | <HR> |
---|
| 1110 | |
---|
| 1111 | <A NAME="getSolrZooKeeper()"><!-- --></A><H3> |
---|
| 1112 | getSolrZooKeeper</H3> |
---|
| 1113 | <PRE> |
---|
| 1114 | public <A HREF="../../../../../org/apache/zookeeper/SolrZooKeeper.html" title="class in org.apache.zookeeper">SolrZooKeeper</A> <B>getSolrZooKeeper</B>()</PRE> |
---|
| 1115 | <DL> |
---|
| 1116 | <DD><DL> |
---|
| 1117 | </DL> |
---|
| 1118 | </DD> |
---|
| 1119 | </DL> |
---|
| 1120 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 1121 | <HR> |
---|
| 1122 | |
---|
| 1123 | |
---|
| 1124 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 1125 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 1126 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 1127 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 1128 | <TR> |
---|
| 1129 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 1130 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 1131 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 1132 | <TR ALIGN="center" VALIGN="top"> |
---|
| 1133 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 1134 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 1135 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 1136 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/SolrZkClient.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 1137 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 1138 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 1139 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 1140 | </TR> |
---|
| 1141 | </TABLE> |
---|
| 1142 | </TD> |
---|
| 1143 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 1144 | </EM> |
---|
| 1145 | </TD> |
---|
| 1146 | </TR> |
---|
| 1147 | |
---|
| 1148 | <TR> |
---|
| 1149 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1150 | <A HREF="../../../../../org/apache/solr/common/cloud/Slice.html" title="class in org.apache.solr.common.cloud"><B>PREV CLASS</B></A> |
---|
| 1151 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkClientConnectionStrategy.html" title="class in org.apache.solr.common.cloud"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 1152 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1153 | <A HREF="../../../../../index.html?org/apache/solr/common/cloud/SolrZkClient.html" target="_top"><B>FRAMES</B></A> |
---|
| 1154 | <A HREF="SolrZkClient.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 1155 | <SCRIPT type="text/javascript"> |
---|
| 1156 | <!-- |
---|
| 1157 | if(window==top) { |
---|
| 1158 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 1159 | } |
---|
| 1160 | //--> |
---|
| 1161 | </SCRIPT> |
---|
| 1162 | <NOSCRIPT> |
---|
| 1163 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 1164 | </NOSCRIPT> |
---|
| 1165 | |
---|
| 1166 | |
---|
| 1167 | </FONT></TD> |
---|
| 1168 | </TR> |
---|
| 1169 | <TR> |
---|
| 1170 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1171 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 1172 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1173 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 1174 | </TR> |
---|
| 1175 | </TABLE> |
---|
| 1176 | <A NAME="skip-navbar_bottom"></A> |
---|
| 1177 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 1178 | |
---|
| 1179 | <HR> |
---|
| 1180 | |
---|
| 1181 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
| 1182 | <script src='../../../../../prettify.js' type='text/javascript'></script> |
---|
| 1183 | <script type='text/javascript'> |
---|
| 1184 | (function(){ |
---|
| 1185 | var oldonload = window.onload; |
---|
| 1186 | if (typeof oldonload != 'function') { |
---|
| 1187 | window.onload = prettyPrint; |
---|
| 1188 | } else { |
---|
| 1189 | window.onload = function() { |
---|
| 1190 | oldonload(); |
---|
| 1191 | prettyPrint(); |
---|
| 1192 | } |
---|
| 1193 | } |
---|
| 1194 | })(); |
---|
| 1195 | </script> |
---|
| 1196 | |
---|
| 1197 | </BODY> |
---|
| 1198 | </HTML> |
---|