[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 | ZkStateReader (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="ZkStateReader (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/ZkStateReader.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/ZkOperation.html" title="class in org.apache.solr.common.cloud"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../../org/apache/solr/common/cloud/ZooKeeperException.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/ZkStateReader.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="ZkStateReader.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 ZkStateReader</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.ZkStateReader</B> |
---|
| 97 | </PRE> |
---|
| 98 | <HR> |
---|
| 99 | <DL> |
---|
| 100 | <DT><PRE>public class <B>ZkStateReader</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 | <HR> |
---|
| 105 | |
---|
| 106 | <P> |
---|
| 107 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 108 | |
---|
| 109 | <A NAME="field_summary"><!-- --></A> |
---|
| 110 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 111 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 112 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 113 | <B>Field Summary</B></FONT></TH> |
---|
| 114 | </TR> |
---|
| 115 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 116 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 117 | <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> |
---|
| 118 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#ACTIVE">ACTIVE</A></B></CODE> |
---|
| 119 | |
---|
| 120 | <BR> |
---|
| 121 | </TD> |
---|
| 122 | </TR> |
---|
| 123 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 124 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 125 | <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> |
---|
| 126 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#BASE_URL_PROP">BASE_URL_PROP</A></B></CODE> |
---|
| 127 | |
---|
| 128 | <BR> |
---|
| 129 | </TD> |
---|
| 130 | </TR> |
---|
| 131 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 132 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 133 | <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> |
---|
| 134 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#CLUSTER_STATE">CLUSTER_STATE</A></B></CODE> |
---|
| 135 | |
---|
| 136 | <BR> |
---|
| 137 | </TD> |
---|
| 138 | </TR> |
---|
| 139 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 140 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 141 | <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> |
---|
| 142 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#COLLECTION_PROP">COLLECTION_PROP</A></B></CODE> |
---|
| 143 | |
---|
| 144 | <BR> |
---|
| 145 | </TD> |
---|
| 146 | </TR> |
---|
| 147 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 148 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 149 | <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> |
---|
| 150 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#COLLECTIONS_ZKNODE">COLLECTIONS_ZKNODE</A></B></CODE> |
---|
| 151 | |
---|
| 152 | <BR> |
---|
| 153 | </TD> |
---|
| 154 | </TR> |
---|
| 155 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 156 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 157 | <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> |
---|
| 158 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#CORE_NAME_PROP">CORE_NAME_PROP</A></B></CODE> |
---|
| 159 | |
---|
| 160 | <BR> |
---|
| 161 | </TD> |
---|
| 162 | </TR> |
---|
| 163 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 164 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 165 | <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> |
---|
| 166 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#DOWN">DOWN</A></B></CODE> |
---|
| 167 | |
---|
| 168 | <BR> |
---|
| 169 | </TD> |
---|
| 170 | </TR> |
---|
| 171 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 172 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 173 | <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> |
---|
| 174 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#LEADER_ELECT_ZKNODE">LEADER_ELECT_ZKNODE</A></B></CODE> |
---|
| 175 | |
---|
| 176 | <BR> |
---|
| 177 | </TD> |
---|
| 178 | </TR> |
---|
| 179 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 180 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 181 | <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> |
---|
| 182 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#LEADER_PROP">LEADER_PROP</A></B></CODE> |
---|
| 183 | |
---|
| 184 | <BR> |
---|
| 185 | </TD> |
---|
| 186 | </TR> |
---|
| 187 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 188 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 189 | <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> |
---|
| 190 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#LIVE_NODES_ZKNODE">LIVE_NODES_ZKNODE</A></B></CODE> |
---|
| 191 | |
---|
| 192 | <BR> |
---|
| 193 | </TD> |
---|
| 194 | </TR> |
---|
| 195 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 196 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 197 | <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> |
---|
| 198 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#NODE_NAME_PROP">NODE_NAME_PROP</A></B></CODE> |
---|
| 199 | |
---|
| 200 | <BR> |
---|
| 201 | </TD> |
---|
| 202 | </TR> |
---|
| 203 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 204 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 205 | <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> |
---|
| 206 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#NUM_SHARDS_PROP">NUM_SHARDS_PROP</A></B></CODE> |
---|
| 207 | |
---|
| 208 | <BR> |
---|
| 209 | </TD> |
---|
| 210 | </TR> |
---|
| 211 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 212 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 213 | <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> |
---|
| 214 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#RECOVERING">RECOVERING</A></B></CODE> |
---|
| 215 | |
---|
| 216 | <BR> |
---|
| 217 | </TD> |
---|
| 218 | </TR> |
---|
| 219 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 220 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 221 | <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> |
---|
| 222 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#RECOVERY_FAILED">RECOVERY_FAILED</A></B></CODE> |
---|
| 223 | |
---|
| 224 | <BR> |
---|
| 225 | </TD> |
---|
| 226 | </TR> |
---|
| 227 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 228 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 229 | <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> |
---|
| 230 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#ROLES_PROP">ROLES_PROP</A></B></CODE> |
---|
| 231 | |
---|
| 232 | <BR> |
---|
| 233 | </TD> |
---|
| 234 | </TR> |
---|
| 235 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 236 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 237 | <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> |
---|
| 238 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#SHARD_ID_PROP">SHARD_ID_PROP</A></B></CODE> |
---|
| 239 | |
---|
| 240 | <BR> |
---|
| 241 | </TD> |
---|
| 242 | </TR> |
---|
| 243 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 244 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 245 | <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> |
---|
| 246 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#SHARD_LEADERS_ZKNODE">SHARD_LEADERS_ZKNODE</A></B></CODE> |
---|
| 247 | |
---|
| 248 | <BR> |
---|
| 249 | </TD> |
---|
| 250 | </TR> |
---|
| 251 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 252 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 253 | <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> |
---|
| 254 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#STATE_PROP">STATE_PROP</A></B></CODE> |
---|
| 255 | |
---|
| 256 | <BR> |
---|
| 257 | </TD> |
---|
| 258 | </TR> |
---|
| 259 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 260 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 261 | <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> |
---|
| 262 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#SYNC">SYNC</A></B></CODE> |
---|
| 263 | |
---|
| 264 | <BR> |
---|
| 265 | </TD> |
---|
| 266 | </TR> |
---|
| 267 | </TABLE> |
---|
| 268 | |
---|
| 269 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 270 | |
---|
| 271 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 272 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 273 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 274 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 275 | <B>Constructor Summary</B></FONT></TH> |
---|
| 276 | </TR> |
---|
| 277 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 278 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#ZkStateReader(org.apache.solr.common.cloud.SolrZkClient)">ZkStateReader</A></B>(<A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient)</CODE> |
---|
| 279 | |
---|
| 280 | <BR> |
---|
| 281 | </TD> |
---|
| 282 | </TR> |
---|
| 283 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 284 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#ZkStateReader(java.lang.String, int, int)">ZkStateReader</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, |
---|
| 285 | int zkClientTimeout, |
---|
| 286 | int zkClientConnectTimeout)</CODE> |
---|
| 287 | |
---|
| 288 | <BR> |
---|
| 289 | </TD> |
---|
| 290 | </TR> |
---|
| 291 | </TABLE> |
---|
| 292 | |
---|
| 293 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 294 | |
---|
| 295 | <A NAME="method_summary"><!-- --></A> |
---|
| 296 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 297 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 298 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 299 | <B>Method Summary</B></FONT></TH> |
---|
| 300 | </TR> |
---|
| 301 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 302 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 303 | <CODE> void</CODE></FONT></TD> |
---|
| 304 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#close()">close</A></B>()</CODE> |
---|
| 305 | |
---|
| 306 | <BR> |
---|
| 307 | </TD> |
---|
| 308 | </TR> |
---|
| 309 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 310 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 311 | <CODE> void</CODE></FONT></TD> |
---|
| 312 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#createClusterStateWatchersAndUpdate()">createClusterStateWatchersAndUpdate</A></B>()</CODE> |
---|
| 313 | |
---|
| 314 | <BR> |
---|
| 315 | </TD> |
---|
| 316 | </TR> |
---|
| 317 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 318 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 319 | <CODE>static <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></CODE></FONT></TD> |
---|
| 320 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#fromJSON(byte[])">fromJSON</A></B>(byte[] utf8)</CODE> |
---|
| 321 | |
---|
| 322 | <BR> |
---|
| 323 | </TD> |
---|
| 324 | </TR> |
---|
| 325 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 326 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 327 | <CODE> <A HREF="../../../../../org/apache/solr/common/cloud/CloudState.html" title="class in org.apache.solr.common.cloud">CloudState</A></CODE></FONT></TD> |
---|
| 328 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getCloudState()">getCloudState</A></B>()</CODE> |
---|
| 329 | |
---|
| 330 | <BR> |
---|
| 331 | </TD> |
---|
| 332 | </TR> |
---|
| 333 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 334 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 335 | <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> |
---|
| 336 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getCoreNodeName(java.lang.String, java.lang.String)">getCoreNodeName</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> nodeName, |
---|
| 337 | <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> coreName)</CODE> |
---|
| 338 | |
---|
| 339 | <BR> |
---|
| 340 | Get CoreNodeName for a core.</TD> |
---|
| 341 | </TR> |
---|
| 342 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 343 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 344 | <CODE> <A HREF="../../../../../org/apache/solr/common/cloud/ZkNodeProps.html" title="class in org.apache.solr.common.cloud">ZkNodeProps</A></CODE></FONT></TD> |
---|
| 345 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getLeaderProps(java.lang.String, java.lang.String)">getLeaderProps</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> collection, |
---|
| 346 | <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> shard)</CODE> |
---|
| 347 | |
---|
| 348 | <BR> |
---|
| 349 | Get shard leader properties.</TD> |
---|
| 350 | </TR> |
---|
| 351 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 352 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 353 | <CODE> <A HREF="../../../../../org/apache/solr/common/cloud/ZkNodeProps.html" title="class in org.apache.solr.common.cloud">ZkNodeProps</A></CODE></FONT></TD> |
---|
| 354 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getLeaderProps(java.lang.String, java.lang.String, int)">getLeaderProps</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> collection, |
---|
| 355 | <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> shard, |
---|
| 356 | int timeout)</CODE> |
---|
| 357 | |
---|
| 358 | <BR> |
---|
| 359 | </TD> |
---|
| 360 | </TR> |
---|
| 361 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 362 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 363 | <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> |
---|
| 364 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getLeaderUrl(java.lang.String, java.lang.String)">getLeaderUrl</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> collection, |
---|
| 365 | <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> shard)</CODE> |
---|
| 366 | |
---|
| 367 | <BR> |
---|
| 368 | Get shard leader url.</TD> |
---|
| 369 | </TR> |
---|
| 370 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 371 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 372 | <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> |
---|
| 373 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getLeaderUrl(java.lang.String, java.lang.String, int)">getLeaderUrl</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> collection, |
---|
| 374 | <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> shard, |
---|
| 375 | int timeout)</CODE> |
---|
| 376 | |
---|
| 377 | <BR> |
---|
| 378 | </TD> |
---|
| 379 | </TR> |
---|
| 380 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 381 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 382 | <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="../../../../../org/apache/solr/common/cloud/ZkCoreNodeProps.html" title="class in org.apache.solr.common.cloud">ZkCoreNodeProps</A>></CODE></FONT></TD> |
---|
| 383 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getReplicaProps(java.lang.String, java.lang.String, java.lang.String, java.lang.String)">getReplicaProps</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> collection, |
---|
| 384 | <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> shardId, |
---|
| 385 | <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> thisNodeName, |
---|
| 386 | <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> coreName)</CODE> |
---|
| 387 | |
---|
| 388 | <BR> |
---|
| 389 | </TD> |
---|
| 390 | </TR> |
---|
| 391 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 392 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 393 | <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="../../../../../org/apache/solr/common/cloud/ZkCoreNodeProps.html" title="class in org.apache.solr.common.cloud">ZkCoreNodeProps</A>></CODE></FONT></TD> |
---|
| 394 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getReplicaProps(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">getReplicaProps</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> collection, |
---|
| 395 | <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> shardId, |
---|
| 396 | <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> thisNodeName, |
---|
| 397 | <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> coreName, |
---|
| 398 | <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> mustMatchStateFilter)</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> <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="../../../../../org/apache/solr/common/cloud/ZkCoreNodeProps.html" title="class in org.apache.solr.common.cloud">ZkCoreNodeProps</A>></CODE></FONT></TD> |
---|
| 406 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getReplicaProps(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)">getReplicaProps</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> collection, |
---|
| 407 | <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> shardId, |
---|
| 408 | <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> thisNodeName, |
---|
| 409 | <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> coreName, |
---|
| 410 | <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> mustMatchStateFilter, |
---|
| 411 | <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> mustNotMatchStateFilter)</CODE> |
---|
| 412 | |
---|
| 413 | <BR> |
---|
| 414 | </TD> |
---|
| 415 | </TR> |
---|
| 416 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 417 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 418 | <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> |
---|
| 419 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getShardLeadersPath(java.lang.String, java.lang.String)">getShardLeadersPath</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> collection, |
---|
| 420 | <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> shardId)</CODE> |
---|
| 421 | |
---|
| 422 | <BR> |
---|
| 423 | Get path where shard leader properties live in zookeeper.</TD> |
---|
| 424 | </TR> |
---|
| 425 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 426 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 427 | <CODE> <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></CODE></FONT></TD> |
---|
| 428 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getUpdateLock()">getUpdateLock</A></B>()</CODE> |
---|
| 429 | |
---|
| 430 | <BR> |
---|
| 431 | </TD> |
---|
| 432 | </TR> |
---|
| 433 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 434 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 435 | <CODE> <A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A></CODE></FONT></TD> |
---|
| 436 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getZkClient()">getZkClient</A></B>()</CODE> |
---|
| 437 | |
---|
| 438 | <BR> |
---|
| 439 | </TD> |
---|
| 440 | </TR> |
---|
| 441 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 442 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 443 | <CODE>static byte[]</CODE></FONT></TD> |
---|
| 444 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#toJSON(java.lang.Object)">toJSON</A></B>(<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> o)</CODE> |
---|
| 445 | |
---|
| 446 | <BR> |
---|
| 447 | </TD> |
---|
| 448 | </TR> |
---|
| 449 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 450 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 451 | <CODE>static byte[]</CODE></FONT></TD> |
---|
| 452 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#toUTF8(org.apache.noggit.CharArr)">toUTF8</A></B>(<A HREF="../../../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A> out)</CODE> |
---|
| 453 | |
---|
| 454 | <BR> |
---|
| 455 | </TD> |
---|
| 456 | </TR> |
---|
| 457 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 458 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 459 | <CODE> void</CODE></FONT></TD> |
---|
| 460 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#updateCloudState(boolean)">updateCloudState</A></B>(boolean immediate)</CODE> |
---|
| 461 | |
---|
| 462 | <BR> |
---|
| 463 | </TD> |
---|
| 464 | </TR> |
---|
| 465 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 466 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 467 | <CODE> void</CODE></FONT></TD> |
---|
| 468 | <TD><CODE><B><A HREF="../../../../../org/apache/solr/common/cloud/ZkStateReader.html#updateLiveNodes()">updateLiveNodes</A></B>()</CODE> |
---|
| 469 | |
---|
| 470 | <BR> |
---|
| 471 | </TD> |
---|
| 472 | </TR> |
---|
| 473 | </TABLE> |
---|
| 474 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 475 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 476 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 477 | <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> |
---|
| 478 | </TR> |
---|
| 479 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 480 | <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> |
---|
| 481 | </TR> |
---|
| 482 | </TABLE> |
---|
| 483 | |
---|
| 484 | <P> |
---|
| 485 | |
---|
| 486 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 487 | |
---|
| 488 | <A NAME="field_detail"><!-- --></A> |
---|
| 489 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 490 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 491 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 492 | <B>Field Detail</B></FONT></TH> |
---|
| 493 | </TR> |
---|
| 494 | </TABLE> |
---|
| 495 | |
---|
| 496 | <A NAME="BASE_URL_PROP"><!-- --></A><H3> |
---|
| 497 | BASE_URL_PROP</H3> |
---|
| 498 | <PRE> |
---|
| 499 | public static final <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>BASE_URL_PROP</B></PRE> |
---|
| 500 | <DL> |
---|
| 501 | <DL> |
---|
| 502 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.BASE_URL_PROP">Constant Field Values</A></DL> |
---|
| 503 | </DL> |
---|
| 504 | <HR> |
---|
| 505 | |
---|
| 506 | <A NAME="NODE_NAME_PROP"><!-- --></A><H3> |
---|
| 507 | NODE_NAME_PROP</H3> |
---|
| 508 | <PRE> |
---|
| 509 | public static final <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>NODE_NAME_PROP</B></PRE> |
---|
| 510 | <DL> |
---|
| 511 | <DL> |
---|
| 512 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.NODE_NAME_PROP">Constant Field Values</A></DL> |
---|
| 513 | </DL> |
---|
| 514 | <HR> |
---|
| 515 | |
---|
| 516 | <A NAME="ROLES_PROP"><!-- --></A><H3> |
---|
| 517 | ROLES_PROP</H3> |
---|
| 518 | <PRE> |
---|
| 519 | public static final <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>ROLES_PROP</B></PRE> |
---|
| 520 | <DL> |
---|
| 521 | <DL> |
---|
| 522 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.ROLES_PROP">Constant Field Values</A></DL> |
---|
| 523 | </DL> |
---|
| 524 | <HR> |
---|
| 525 | |
---|
| 526 | <A NAME="STATE_PROP"><!-- --></A><H3> |
---|
| 527 | STATE_PROP</H3> |
---|
| 528 | <PRE> |
---|
| 529 | public static final <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>STATE_PROP</B></PRE> |
---|
| 530 | <DL> |
---|
| 531 | <DL> |
---|
| 532 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.STATE_PROP">Constant Field Values</A></DL> |
---|
| 533 | </DL> |
---|
| 534 | <HR> |
---|
| 535 | |
---|
| 536 | <A NAME="CORE_NAME_PROP"><!-- --></A><H3> |
---|
| 537 | CORE_NAME_PROP</H3> |
---|
| 538 | <PRE> |
---|
| 539 | public static final <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>CORE_NAME_PROP</B></PRE> |
---|
| 540 | <DL> |
---|
| 541 | <DL> |
---|
| 542 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.CORE_NAME_PROP">Constant Field Values</A></DL> |
---|
| 543 | </DL> |
---|
| 544 | <HR> |
---|
| 545 | |
---|
| 546 | <A NAME="COLLECTION_PROP"><!-- --></A><H3> |
---|
| 547 | COLLECTION_PROP</H3> |
---|
| 548 | <PRE> |
---|
| 549 | public static final <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>COLLECTION_PROP</B></PRE> |
---|
| 550 | <DL> |
---|
| 551 | <DL> |
---|
| 552 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.COLLECTION_PROP">Constant Field Values</A></DL> |
---|
| 553 | </DL> |
---|
| 554 | <HR> |
---|
| 555 | |
---|
| 556 | <A NAME="SHARD_ID_PROP"><!-- --></A><H3> |
---|
| 557 | SHARD_ID_PROP</H3> |
---|
| 558 | <PRE> |
---|
| 559 | public static final <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>SHARD_ID_PROP</B></PRE> |
---|
| 560 | <DL> |
---|
| 561 | <DL> |
---|
| 562 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.SHARD_ID_PROP">Constant Field Values</A></DL> |
---|
| 563 | </DL> |
---|
| 564 | <HR> |
---|
| 565 | |
---|
| 566 | <A NAME="NUM_SHARDS_PROP"><!-- --></A><H3> |
---|
| 567 | NUM_SHARDS_PROP</H3> |
---|
| 568 | <PRE> |
---|
| 569 | public static final <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>NUM_SHARDS_PROP</B></PRE> |
---|
| 570 | <DL> |
---|
| 571 | <DL> |
---|
| 572 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.NUM_SHARDS_PROP">Constant Field Values</A></DL> |
---|
| 573 | </DL> |
---|
| 574 | <HR> |
---|
| 575 | |
---|
| 576 | <A NAME="LEADER_PROP"><!-- --></A><H3> |
---|
| 577 | LEADER_PROP</H3> |
---|
| 578 | <PRE> |
---|
| 579 | public static final <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>LEADER_PROP</B></PRE> |
---|
| 580 | <DL> |
---|
| 581 | <DL> |
---|
| 582 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.LEADER_PROP">Constant Field Values</A></DL> |
---|
| 583 | </DL> |
---|
| 584 | <HR> |
---|
| 585 | |
---|
| 586 | <A NAME="COLLECTIONS_ZKNODE"><!-- --></A><H3> |
---|
| 587 | COLLECTIONS_ZKNODE</H3> |
---|
| 588 | <PRE> |
---|
| 589 | public static final <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>COLLECTIONS_ZKNODE</B></PRE> |
---|
| 590 | <DL> |
---|
| 591 | <DL> |
---|
| 592 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.COLLECTIONS_ZKNODE">Constant Field Values</A></DL> |
---|
| 593 | </DL> |
---|
| 594 | <HR> |
---|
| 595 | |
---|
| 596 | <A NAME="LIVE_NODES_ZKNODE"><!-- --></A><H3> |
---|
| 597 | LIVE_NODES_ZKNODE</H3> |
---|
| 598 | <PRE> |
---|
| 599 | public static final <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>LIVE_NODES_ZKNODE</B></PRE> |
---|
| 600 | <DL> |
---|
| 601 | <DL> |
---|
| 602 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.LIVE_NODES_ZKNODE">Constant Field Values</A></DL> |
---|
| 603 | </DL> |
---|
| 604 | <HR> |
---|
| 605 | |
---|
| 606 | <A NAME="CLUSTER_STATE"><!-- --></A><H3> |
---|
| 607 | CLUSTER_STATE</H3> |
---|
| 608 | <PRE> |
---|
| 609 | public static final <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>CLUSTER_STATE</B></PRE> |
---|
| 610 | <DL> |
---|
| 611 | <DL> |
---|
| 612 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.CLUSTER_STATE">Constant Field Values</A></DL> |
---|
| 613 | </DL> |
---|
| 614 | <HR> |
---|
| 615 | |
---|
| 616 | <A NAME="RECOVERING"><!-- --></A><H3> |
---|
| 617 | RECOVERING</H3> |
---|
| 618 | <PRE> |
---|
| 619 | public static final <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>RECOVERING</B></PRE> |
---|
| 620 | <DL> |
---|
| 621 | <DL> |
---|
| 622 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.RECOVERING">Constant Field Values</A></DL> |
---|
| 623 | </DL> |
---|
| 624 | <HR> |
---|
| 625 | |
---|
| 626 | <A NAME="RECOVERY_FAILED"><!-- --></A><H3> |
---|
| 627 | RECOVERY_FAILED</H3> |
---|
| 628 | <PRE> |
---|
| 629 | public static final <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>RECOVERY_FAILED</B></PRE> |
---|
| 630 | <DL> |
---|
| 631 | <DL> |
---|
| 632 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.RECOVERY_FAILED">Constant Field Values</A></DL> |
---|
| 633 | </DL> |
---|
| 634 | <HR> |
---|
| 635 | |
---|
| 636 | <A NAME="ACTIVE"><!-- --></A><H3> |
---|
| 637 | ACTIVE</H3> |
---|
| 638 | <PRE> |
---|
| 639 | public static final <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>ACTIVE</B></PRE> |
---|
| 640 | <DL> |
---|
| 641 | <DL> |
---|
| 642 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.ACTIVE">Constant Field Values</A></DL> |
---|
| 643 | </DL> |
---|
| 644 | <HR> |
---|
| 645 | |
---|
| 646 | <A NAME="DOWN"><!-- --></A><H3> |
---|
| 647 | DOWN</H3> |
---|
| 648 | <PRE> |
---|
| 649 | public static final <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>DOWN</B></PRE> |
---|
| 650 | <DL> |
---|
| 651 | <DL> |
---|
| 652 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.DOWN">Constant Field Values</A></DL> |
---|
| 653 | </DL> |
---|
| 654 | <HR> |
---|
| 655 | |
---|
| 656 | <A NAME="SYNC"><!-- --></A><H3> |
---|
| 657 | SYNC</H3> |
---|
| 658 | <PRE> |
---|
| 659 | public static final <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>SYNC</B></PRE> |
---|
| 660 | <DL> |
---|
| 661 | <DL> |
---|
| 662 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.SYNC">Constant Field Values</A></DL> |
---|
| 663 | </DL> |
---|
| 664 | <HR> |
---|
| 665 | |
---|
| 666 | <A NAME="LEADER_ELECT_ZKNODE"><!-- --></A><H3> |
---|
| 667 | LEADER_ELECT_ZKNODE</H3> |
---|
| 668 | <PRE> |
---|
| 669 | public static final <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>LEADER_ELECT_ZKNODE</B></PRE> |
---|
| 670 | <DL> |
---|
| 671 | <DL> |
---|
| 672 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.LEADER_ELECT_ZKNODE">Constant Field Values</A></DL> |
---|
| 673 | </DL> |
---|
| 674 | <HR> |
---|
| 675 | |
---|
| 676 | <A NAME="SHARD_LEADERS_ZKNODE"><!-- --></A><H3> |
---|
| 677 | SHARD_LEADERS_ZKNODE</H3> |
---|
| 678 | <PRE> |
---|
| 679 | public static final <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>SHARD_LEADERS_ZKNODE</B></PRE> |
---|
| 680 | <DL> |
---|
| 681 | <DL> |
---|
| 682 | <DT><B>See Also:</B><DD><A HREF="../../../../../constant-values.html#org.apache.solr.common.cloud.ZkStateReader.SHARD_LEADERS_ZKNODE">Constant Field Values</A></DL> |
---|
| 683 | </DL> |
---|
| 684 | |
---|
| 685 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 686 | |
---|
| 687 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 688 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 689 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 690 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 691 | <B>Constructor Detail</B></FONT></TH> |
---|
| 692 | </TR> |
---|
| 693 | </TABLE> |
---|
| 694 | |
---|
| 695 | <A NAME="ZkStateReader(org.apache.solr.common.cloud.SolrZkClient)"><!-- --></A><H3> |
---|
| 696 | ZkStateReader</H3> |
---|
| 697 | <PRE> |
---|
| 698 | public <B>ZkStateReader</B>(<A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient)</PRE> |
---|
| 699 | <DL> |
---|
| 700 | </DL> |
---|
| 701 | <HR> |
---|
| 702 | |
---|
| 703 | <A NAME="ZkStateReader(java.lang.String, int, int)"><!-- --></A><H3> |
---|
| 704 | ZkStateReader</H3> |
---|
| 705 | <PRE> |
---|
| 706 | public <B>ZkStateReader</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, |
---|
| 707 | int zkClientTimeout, |
---|
| 708 | int zkClientConnectTimeout) |
---|
| 709 | 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>, |
---|
| 710 | <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>, |
---|
| 711 | <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> |
---|
| 712 | <DL> |
---|
| 713 | <DL> |
---|
| 714 | |
---|
| 715 | <DT><B>Throws:</B> |
---|
| 716 | <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> |
---|
| 717 | <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> |
---|
| 718 | <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> |
---|
| 719 | </DL> |
---|
| 720 | |
---|
| 721 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 722 | |
---|
| 723 | <A NAME="method_detail"><!-- --></A> |
---|
| 724 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 725 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 726 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 727 | <B>Method Detail</B></FONT></TH> |
---|
| 728 | </TR> |
---|
| 729 | </TABLE> |
---|
| 730 | |
---|
| 731 | <A NAME="toJSON(java.lang.Object)"><!-- --></A><H3> |
---|
| 732 | toJSON</H3> |
---|
| 733 | <PRE> |
---|
| 734 | public static byte[] <B>toJSON</B>(<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> o)</PRE> |
---|
| 735 | <DL> |
---|
| 736 | <DD><DL> |
---|
| 737 | </DL> |
---|
| 738 | </DD> |
---|
| 739 | </DL> |
---|
| 740 | <HR> |
---|
| 741 | |
---|
| 742 | <A NAME="toUTF8(org.apache.noggit.CharArr)"><!-- --></A><H3> |
---|
| 743 | toUTF8</H3> |
---|
| 744 | <PRE> |
---|
| 745 | public static byte[] <B>toUTF8</B>(<A HREF="../../../../../org/apache/noggit/CharArr.html" title="class in org.apache.noggit">CharArr</A> out)</PRE> |
---|
| 746 | <DL> |
---|
| 747 | <DD><DL> |
---|
| 748 | </DL> |
---|
| 749 | </DD> |
---|
| 750 | </DL> |
---|
| 751 | <HR> |
---|
| 752 | |
---|
| 753 | <A NAME="fromJSON(byte[])"><!-- --></A><H3> |
---|
| 754 | fromJSON</H3> |
---|
| 755 | <PRE> |
---|
| 756 | public static <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>fromJSON</B>(byte[] utf8)</PRE> |
---|
| 757 | <DL> |
---|
| 758 | <DD><DL> |
---|
| 759 | </DL> |
---|
| 760 | </DD> |
---|
| 761 | </DL> |
---|
| 762 | <HR> |
---|
| 763 | |
---|
| 764 | <A NAME="updateCloudState(boolean)"><!-- --></A><H3> |
---|
| 765 | updateCloudState</H3> |
---|
| 766 | <PRE> |
---|
| 767 | public void <B>updateCloudState</B>(boolean immediate) |
---|
| 768 | throws org.apache.zookeeper.KeeperException, |
---|
| 769 | <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> |
---|
| 770 | <DL> |
---|
| 771 | <DD><DL> |
---|
| 772 | |
---|
| 773 | <DT><B>Throws:</B> |
---|
| 774 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 775 | <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> |
---|
| 776 | </DD> |
---|
| 777 | </DL> |
---|
| 778 | <HR> |
---|
| 779 | |
---|
| 780 | <A NAME="updateLiveNodes()"><!-- --></A><H3> |
---|
| 781 | updateLiveNodes</H3> |
---|
| 782 | <PRE> |
---|
| 783 | public void <B>updateLiveNodes</B>() |
---|
| 784 | throws org.apache.zookeeper.KeeperException, |
---|
| 785 | <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> |
---|
| 786 | <DL> |
---|
| 787 | <DD><DL> |
---|
| 788 | |
---|
| 789 | <DT><B>Throws:</B> |
---|
| 790 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 791 | <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> |
---|
| 792 | </DD> |
---|
| 793 | </DL> |
---|
| 794 | <HR> |
---|
| 795 | |
---|
| 796 | <A NAME="createClusterStateWatchersAndUpdate()"><!-- --></A><H3> |
---|
| 797 | createClusterStateWatchersAndUpdate</H3> |
---|
| 798 | <PRE> |
---|
| 799 | public void <B>createClusterStateWatchersAndUpdate</B>() |
---|
| 800 | throws org.apache.zookeeper.KeeperException, |
---|
| 801 | <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> |
---|
| 802 | <DL> |
---|
| 803 | <DD><DL> |
---|
| 804 | |
---|
| 805 | <DT><B>Throws:</B> |
---|
| 806 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 807 | <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> |
---|
| 808 | </DD> |
---|
| 809 | </DL> |
---|
| 810 | <HR> |
---|
| 811 | |
---|
| 812 | <A NAME="getCloudState()"><!-- --></A><H3> |
---|
| 813 | getCloudState</H3> |
---|
| 814 | <PRE> |
---|
| 815 | public <A HREF="../../../../../org/apache/solr/common/cloud/CloudState.html" title="class in org.apache.solr.common.cloud">CloudState</A> <B>getCloudState</B>()</PRE> |
---|
| 816 | <DL> |
---|
| 817 | <DD><DL> |
---|
| 818 | |
---|
| 819 | <DT><B>Returns:</B><DD>information about the cluster from ZooKeeper</DL> |
---|
| 820 | </DD> |
---|
| 821 | </DL> |
---|
| 822 | <HR> |
---|
| 823 | |
---|
| 824 | <A NAME="getUpdateLock()"><!-- --></A><H3> |
---|
| 825 | getUpdateLock</H3> |
---|
| 826 | <PRE> |
---|
| 827 | public <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>getUpdateLock</B>()</PRE> |
---|
| 828 | <DL> |
---|
| 829 | <DD><DL> |
---|
| 830 | </DL> |
---|
| 831 | </DD> |
---|
| 832 | </DL> |
---|
| 833 | <HR> |
---|
| 834 | |
---|
| 835 | <A NAME="close()"><!-- --></A><H3> |
---|
| 836 | close</H3> |
---|
| 837 | <PRE> |
---|
| 838 | public void <B>close</B>()</PRE> |
---|
| 839 | <DL> |
---|
| 840 | <DD><DL> |
---|
| 841 | </DL> |
---|
| 842 | </DD> |
---|
| 843 | </DL> |
---|
| 844 | <HR> |
---|
| 845 | |
---|
| 846 | <A NAME="getLeaderUrl(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 847 | getLeaderUrl</H3> |
---|
| 848 | <PRE> |
---|
| 849 | 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>getLeaderUrl</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> collection, |
---|
| 850 | <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> shard) |
---|
| 851 | 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>, |
---|
| 852 | org.apache.zookeeper.KeeperException</PRE> |
---|
| 853 | <DL> |
---|
| 854 | <DD>Get shard leader url. |
---|
| 855 | <P> |
---|
| 856 | <DD><DL> |
---|
| 857 | |
---|
| 858 | <DT><B>Throws:</B> |
---|
| 859 | <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> |
---|
| 860 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE></DL> |
---|
| 861 | </DD> |
---|
| 862 | </DL> |
---|
| 863 | <HR> |
---|
| 864 | |
---|
| 865 | <A NAME="getLeaderUrl(java.lang.String, java.lang.String, int)"><!-- --></A><H3> |
---|
| 866 | getLeaderUrl</H3> |
---|
| 867 | <PRE> |
---|
| 868 | 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>getLeaderUrl</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> collection, |
---|
| 869 | <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> shard, |
---|
| 870 | int timeout) |
---|
| 871 | 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>, |
---|
| 872 | org.apache.zookeeper.KeeperException</PRE> |
---|
| 873 | <DL> |
---|
| 874 | <DD><DL> |
---|
| 875 | |
---|
| 876 | <DT><B>Throws:</B> |
---|
| 877 | <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> |
---|
| 878 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE></DL> |
---|
| 879 | </DD> |
---|
| 880 | </DL> |
---|
| 881 | <HR> |
---|
| 882 | |
---|
| 883 | <A NAME="getLeaderProps(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 884 | getLeaderProps</H3> |
---|
| 885 | <PRE> |
---|
| 886 | public <A HREF="../../../../../org/apache/solr/common/cloud/ZkNodeProps.html" title="class in org.apache.solr.common.cloud">ZkNodeProps</A> <B>getLeaderProps</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> collection, |
---|
| 887 | <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> shard) |
---|
| 888 | 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> |
---|
| 889 | <DL> |
---|
| 890 | <DD>Get shard leader properties. |
---|
| 891 | <P> |
---|
| 892 | <DD><DL> |
---|
| 893 | |
---|
| 894 | <DT><B>Throws:</B> |
---|
| 895 | <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> |
---|
| 896 | </DD> |
---|
| 897 | </DL> |
---|
| 898 | <HR> |
---|
| 899 | |
---|
| 900 | <A NAME="getLeaderProps(java.lang.String, java.lang.String, int)"><!-- --></A><H3> |
---|
| 901 | getLeaderProps</H3> |
---|
| 902 | <PRE> |
---|
| 903 | public <A HREF="../../../../../org/apache/solr/common/cloud/ZkNodeProps.html" title="class in org.apache.solr.common.cloud">ZkNodeProps</A> <B>getLeaderProps</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> collection, |
---|
| 904 | <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> shard, |
---|
| 905 | int timeout) |
---|
| 906 | 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> |
---|
| 907 | <DL> |
---|
| 908 | <DD><DL> |
---|
| 909 | |
---|
| 910 | <DT><B>Throws:</B> |
---|
| 911 | <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> |
---|
| 912 | </DD> |
---|
| 913 | </DL> |
---|
| 914 | <HR> |
---|
| 915 | |
---|
| 916 | <A NAME="getShardLeadersPath(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 917 | getShardLeadersPath</H3> |
---|
| 918 | <PRE> |
---|
| 919 | 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>getShardLeadersPath</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> collection, |
---|
| 920 | <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> shardId)</PRE> |
---|
| 921 | <DL> |
---|
| 922 | <DD>Get path where shard leader properties live in zookeeper. |
---|
| 923 | <P> |
---|
| 924 | <DD><DL> |
---|
| 925 | </DL> |
---|
| 926 | </DD> |
---|
| 927 | </DL> |
---|
| 928 | <HR> |
---|
| 929 | |
---|
| 930 | <A NAME="getCoreNodeName(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 931 | getCoreNodeName</H3> |
---|
| 932 | <PRE> |
---|
| 933 | 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>getCoreNodeName</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> nodeName, |
---|
| 934 | <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> coreName)</PRE> |
---|
| 935 | <DL> |
---|
| 936 | <DD>Get CoreNodeName for a core. This name is unique across the collection. |
---|
| 937 | <P> |
---|
| 938 | <DD><DL> |
---|
| 939 | <DT><B>Parameters:</B><DD><CODE>nodeName</CODE> - in form: 127.0.0.1:54065_solr</DL> |
---|
| 940 | </DD> |
---|
| 941 | </DL> |
---|
| 942 | <HR> |
---|
| 943 | |
---|
| 944 | <A NAME="getReplicaProps(java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 945 | getReplicaProps</H3> |
---|
| 946 | <PRE> |
---|
| 947 | 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="../../../../../org/apache/solr/common/cloud/ZkCoreNodeProps.html" title="class in org.apache.solr.common.cloud">ZkCoreNodeProps</A>> <B>getReplicaProps</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> collection, |
---|
| 948 | <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> shardId, |
---|
| 949 | <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> thisNodeName, |
---|
| 950 | <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> coreName)</PRE> |
---|
| 951 | <DL> |
---|
| 952 | <DD><DL> |
---|
| 953 | </DL> |
---|
| 954 | </DD> |
---|
| 955 | </DL> |
---|
| 956 | <HR> |
---|
| 957 | |
---|
| 958 | <A NAME="getReplicaProps(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 959 | getReplicaProps</H3> |
---|
| 960 | <PRE> |
---|
| 961 | 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="../../../../../org/apache/solr/common/cloud/ZkCoreNodeProps.html" title="class in org.apache.solr.common.cloud">ZkCoreNodeProps</A>> <B>getReplicaProps</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> collection, |
---|
| 962 | <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> shardId, |
---|
| 963 | <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> thisNodeName, |
---|
| 964 | <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> coreName, |
---|
| 965 | <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> mustMatchStateFilter)</PRE> |
---|
| 966 | <DL> |
---|
| 967 | <DD><DL> |
---|
| 968 | </DL> |
---|
| 969 | </DD> |
---|
| 970 | </DL> |
---|
| 971 | <HR> |
---|
| 972 | |
---|
| 973 | <A NAME="getReplicaProps(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 974 | getReplicaProps</H3> |
---|
| 975 | <PRE> |
---|
| 976 | 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="../../../../../org/apache/solr/common/cloud/ZkCoreNodeProps.html" title="class in org.apache.solr.common.cloud">ZkCoreNodeProps</A>> <B>getReplicaProps</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> collection, |
---|
| 977 | <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> shardId, |
---|
| 978 | <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> thisNodeName, |
---|
| 979 | <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> coreName, |
---|
| 980 | <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> mustMatchStateFilter, |
---|
| 981 | <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> mustNotMatchStateFilter)</PRE> |
---|
| 982 | <DL> |
---|
| 983 | <DD><DL> |
---|
| 984 | </DL> |
---|
| 985 | </DD> |
---|
| 986 | </DL> |
---|
| 987 | <HR> |
---|
| 988 | |
---|
| 989 | <A NAME="getZkClient()"><!-- --></A><H3> |
---|
| 990 | getZkClient</H3> |
---|
| 991 | <PRE> |
---|
| 992 | public <A HREF="../../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> <B>getZkClient</B>()</PRE> |
---|
| 993 | <DL> |
---|
| 994 | <DD><DL> |
---|
| 995 | </DL> |
---|
| 996 | </DD> |
---|
| 997 | </DL> |
---|
| 998 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 999 | <HR> |
---|
| 1000 | |
---|
| 1001 | |
---|
| 1002 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 1003 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 1004 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 1005 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 1006 | <TR> |
---|
| 1007 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 1008 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 1009 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 1010 | <TR ALIGN="center" VALIGN="top"> |
---|
| 1011 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 1012 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 1013 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 1014 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ZkStateReader.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 1015 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 1016 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 1017 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 1018 | </TR> |
---|
| 1019 | </TABLE> |
---|
| 1020 | </TD> |
---|
| 1021 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 1022 | </EM> |
---|
| 1023 | </TD> |
---|
| 1024 | </TR> |
---|
| 1025 | |
---|
| 1026 | <TR> |
---|
| 1027 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1028 | <A HREF="../../../../../org/apache/solr/common/cloud/ZkOperation.html" title="class in org.apache.solr.common.cloud"><B>PREV CLASS</B></A> |
---|
| 1029 | <A HREF="../../../../../org/apache/solr/common/cloud/ZooKeeperException.html" title="class in org.apache.solr.common.cloud"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 1030 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 1031 | <A HREF="../../../../../index.html?org/apache/solr/common/cloud/ZkStateReader.html" target="_top"><B>FRAMES</B></A> |
---|
| 1032 | <A HREF="ZkStateReader.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 1033 | <SCRIPT type="text/javascript"> |
---|
| 1034 | <!-- |
---|
| 1035 | if(window==top) { |
---|
| 1036 | document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 1037 | } |
---|
| 1038 | //--> |
---|
| 1039 | </SCRIPT> |
---|
| 1040 | <NOSCRIPT> |
---|
| 1041 | <A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 1042 | </NOSCRIPT> |
---|
| 1043 | |
---|
| 1044 | |
---|
| 1045 | </FONT></TD> |
---|
| 1046 | </TR> |
---|
| 1047 | <TR> |
---|
| 1048 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1049 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 1050 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 1051 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 1052 | </TR> |
---|
| 1053 | </TABLE> |
---|
| 1054 | <A NAME="skip-navbar_bottom"></A> |
---|
| 1055 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 1056 | |
---|
| 1057 | <HR> |
---|
| 1058 | |
---|
| 1059 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
| 1060 | <script src='../../../../../prettify.js' type='text/javascript'></script> |
---|
| 1061 | <script type='text/javascript'> |
---|
| 1062 | (function(){ |
---|
| 1063 | var oldonload = window.onload; |
---|
| 1064 | if (typeof oldonload != 'function') { |
---|
| 1065 | window.onload = prettyPrint; |
---|
| 1066 | } else { |
---|
| 1067 | window.onload = function() { |
---|
| 1068 | oldonload(); |
---|
| 1069 | prettyPrint(); |
---|
| 1070 | } |
---|
| 1071 | } |
---|
| 1072 | })(); |
---|
| 1073 | </script> |
---|
| 1074 | |
---|
| 1075 | </BODY> |
---|
| 1076 | </HTML> |
---|