[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:24 EDT 2012 --> |
---|
| 6 | <META http-equiv="Content-Type" content="text/html; charset=utf-8"> |
---|
| 7 | <TITLE> |
---|
| 8 | ZkController (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="ZkController (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/ZkController.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/cloud/SyncStrategy.html" title="class in org.apache.solr.cloud"><B>PREV CLASS</B></A> |
---|
| 59 | <A HREF="../../../../org/apache/solr/cloud/ZkSolrResourceLoader.html" title="class in org.apache.solr.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/cloud/ZkController.html" target="_top"><B>FRAMES</B></A> |
---|
| 62 | <A HREF="ZkController.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.cloud</FONT> |
---|
| 92 | <BR> |
---|
| 93 | Class ZkController</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.cloud.ZkController</B> |
---|
| 97 | </PRE> |
---|
| 98 | <HR> |
---|
| 99 | <DL> |
---|
| 100 | <DT><PRE>public final class <B>ZkController</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 | Handle ZooKeeper interactions. |
---|
| 105 | |
---|
| 106 | notes: loads everything on init, creates what's not there - further updates |
---|
| 107 | are prompted with Watches. |
---|
| 108 | |
---|
| 109 | TODO: exceptions during shutdown on attempts to update cloud state |
---|
| 110 | <P> |
---|
| 111 | |
---|
| 112 | <P> |
---|
| 113 | <HR> |
---|
| 114 | |
---|
| 115 | <P> |
---|
| 116 | <!-- =========== FIELD SUMMARY =========== --> |
---|
| 117 | |
---|
| 118 | <A NAME="field_summary"><!-- --></A> |
---|
| 119 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 120 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 121 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 122 | <B>Field Summary</B></FONT></TH> |
---|
| 123 | </TR> |
---|
| 124 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 125 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 126 | <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> |
---|
| 127 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#COLLECTION_PARAM_PREFIX">COLLECTION_PARAM_PREFIX</A></B></CODE> |
---|
| 128 | |
---|
| 129 | <BR> |
---|
| 130 | </TD> |
---|
| 131 | </TR> |
---|
| 132 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 133 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 134 | <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> |
---|
| 135 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#CONFIGNAME_PROP">CONFIGNAME_PROP</A></B></CODE> |
---|
| 136 | |
---|
| 137 | <BR> |
---|
| 138 | </TD> |
---|
| 139 | </TR> |
---|
| 140 | </TABLE> |
---|
| 141 | |
---|
| 142 | <!-- ======== CONSTRUCTOR SUMMARY ======== --> |
---|
| 143 | |
---|
| 144 | <A NAME="constructor_summary"><!-- --></A> |
---|
| 145 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 146 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 147 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 148 | <B>Constructor Summary</B></FONT></TH> |
---|
| 149 | </TR> |
---|
| 150 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 151 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#ZkController(org.apache.solr.core.CoreContainer, java.lang.String, int, int, java.lang.String, java.lang.String, java.lang.String, org.apache.solr.cloud.CurrentCoreDescriptorProvider)">ZkController</A></B>(<A HREF="../../../../org/apache/solr/core/CoreContainer.html" title="class in org.apache.solr.core">CoreContainer</A> cc, |
---|
| 152 | <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, |
---|
| 153 | int zkClientTimeout, |
---|
| 154 | int zkClientConnectTimeout, |
---|
| 155 | <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> localHost, |
---|
| 156 | <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> locaHostPort, |
---|
| 157 | <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> localHostContext, |
---|
| 158 | <A HREF="../../../../org/apache/solr/cloud/CurrentCoreDescriptorProvider.html" title="class in org.apache.solr.cloud">CurrentCoreDescriptorProvider</A> registerOnReconnect)</CODE> |
---|
| 159 | |
---|
| 160 | <BR> |
---|
| 161 | </TD> |
---|
| 162 | </TR> |
---|
| 163 | </TABLE> |
---|
| 164 | |
---|
| 165 | <!-- ========== METHOD SUMMARY =========== --> |
---|
| 166 | |
---|
| 167 | <A NAME="method_summary"><!-- --></A> |
---|
| 168 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 169 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 170 | <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> |
---|
| 171 | <B>Method Summary</B></FONT></TH> |
---|
| 172 | </TR> |
---|
| 173 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 174 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 175 | <CODE>static void</CODE></FONT></TD> |
---|
| 176 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#bootstrapConf(org.apache.solr.common.cloud.SolrZkClient, org.apache.solr.core.Config, java.lang.String)">bootstrapConf</A></B>(<A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient, |
---|
| 177 | <A HREF="../../../../org/apache/solr/core/Config.html" title="class in org.apache.solr.core">Config</A> cfg, |
---|
| 178 | <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> solrHome)</CODE> |
---|
| 179 | |
---|
| 180 | <BR> |
---|
| 181 | If in SolrCloud mode, upload config sets for each SolrCore in solr.xml.</TD> |
---|
| 182 | </TR> |
---|
| 183 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 184 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 185 | <CODE> void</CODE></FONT></TD> |
---|
| 186 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#close()">close</A></B>()</CODE> |
---|
| 187 | |
---|
| 188 | <BR> |
---|
| 189 | Closes the underlying ZooKeeper client.</TD> |
---|
| 190 | </TR> |
---|
| 191 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 192 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 193 | <CODE> boolean</CODE></FONT></TD> |
---|
| 194 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#configFileExists(java.lang.String, java.lang.String)">configFileExists</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, |
---|
| 195 | <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> fileName)</CODE> |
---|
| 196 | |
---|
| 197 | <BR> |
---|
| 198 | </TD> |
---|
| 199 | </TR> |
---|
| 200 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 201 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 202 | <CODE> void</CODE></FONT></TD> |
---|
| 203 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#createCollectionZkNode(org.apache.solr.cloud.CloudDescriptor)">createCollectionZkNode</A></B>(<A HREF="../../../../org/apache/solr/cloud/CloudDescriptor.html" title="class in org.apache.solr.cloud">CloudDescriptor</A> cd)</CODE> |
---|
| 204 | |
---|
| 205 | <BR> |
---|
| 206 | </TD> |
---|
| 207 | </TR> |
---|
| 208 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 209 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 210 | <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> |
---|
| 211 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getBaseUrl()">getBaseUrl</A></B>()</CODE> |
---|
| 212 | |
---|
| 213 | <BR> |
---|
| 214 | </TD> |
---|
| 215 | </TR> |
---|
| 216 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 217 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 218 | <CODE> <A HREF="../../../../org/apache/solr/common/cloud/CloudState.html" title="class in org.apache.solr.common.cloud">CloudState</A></CODE></FONT></TD> |
---|
| 219 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getCloudState()">getCloudState</A></B>()</CODE> |
---|
| 220 | |
---|
| 221 | <BR> |
---|
| 222 | </TD> |
---|
| 223 | </TR> |
---|
| 224 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 225 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 226 | <CODE> byte[]</CODE></FONT></TD> |
---|
| 227 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getConfigFileData(java.lang.String, java.lang.String)">getConfigFileData</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> zkConfigName, |
---|
| 228 | <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> fileName)</CODE> |
---|
| 229 | |
---|
| 230 | <BR> |
---|
| 231 | </TD> |
---|
| 232 | </TR> |
---|
| 233 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 234 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 235 | <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> |
---|
| 236 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getHostName()">getHostName</A></B>()</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> <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> |
---|
| 244 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getHostPort()">getHostPort</A></B>()</CODE> |
---|
| 245 | |
---|
| 246 | <BR> |
---|
| 247 | </TD> |
---|
| 248 | </TR> |
---|
| 249 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 250 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 251 | <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> |
---|
| 252 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getNodeName()">getNodeName</A></B>()</CODE> |
---|
| 253 | |
---|
| 254 | <BR> |
---|
| 255 | </TD> |
---|
| 256 | </TR> |
---|
| 257 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 258 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 259 | <CODE> <A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A></CODE></FONT></TD> |
---|
| 260 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getZkClient()">getZkClient</A></B>()</CODE> |
---|
| 261 | |
---|
| 262 | <BR> |
---|
| 263 | </TD> |
---|
| 264 | </TR> |
---|
| 265 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 266 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 267 | <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> |
---|
| 268 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getZkServerAddress()">getZkServerAddress</A></B>()</CODE> |
---|
| 269 | |
---|
| 270 | <BR> |
---|
| 271 | </TD> |
---|
| 272 | </TR> |
---|
| 273 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 274 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 275 | <CODE> <A HREF="../../../../org/apache/solr/common/cloud/ZkStateReader.html" title="class in org.apache.solr.common.cloud">ZkStateReader</A></CODE></FONT></TD> |
---|
| 276 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#getZkStateReader()">getZkStateReader</A></B>()</CODE> |
---|
| 277 | |
---|
| 278 | <BR> |
---|
| 279 | </TD> |
---|
| 280 | </TR> |
---|
| 281 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 282 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 283 | <CODE> boolean</CODE></FONT></TD> |
---|
| 284 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#isConnected()">isConnected</A></B>()</CODE> |
---|
| 285 | |
---|
| 286 | <BR> |
---|
| 287 | </TD> |
---|
| 288 | </TR> |
---|
| 289 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 290 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 291 | <CODE>static void</CODE></FONT></TD> |
---|
| 292 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#main(java.lang.String[])">main</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>[] args)</CODE> |
---|
| 293 | |
---|
| 294 | <BR> |
---|
| 295 | Bootstraps the current configs for all collections in solr.xml.</TD> |
---|
| 296 | </TR> |
---|
| 297 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 298 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 299 | <CODE> boolean</CODE></FONT></TD> |
---|
| 300 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#pathExists(java.lang.String)">pathExists</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)</CODE> |
---|
| 301 | |
---|
| 302 | <BR> |
---|
| 303 | </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/cloud/ZkController.html#preRegister(org.apache.solr.core.CoreDescriptor)">preRegister</A></B>(<A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> cd)</CODE> |
---|
| 309 | |
---|
| 310 | <BR> |
---|
| 311 | </TD> |
---|
| 312 | </TR> |
---|
| 313 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 314 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 315 | <CODE> void</CODE></FONT></TD> |
---|
| 316 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#publish(org.apache.solr.core.CoreDescriptor, java.lang.String)">publish</A></B>(<A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> cd, |
---|
| 317 | <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> state)</CODE> |
---|
| 318 | |
---|
| 319 | <BR> |
---|
| 320 | Publish core state to overseer.</TD> |
---|
| 321 | </TR> |
---|
| 322 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 323 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 324 | <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> |
---|
| 325 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#readConfigName(java.lang.String)">readConfigName</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)</CODE> |
---|
| 326 | |
---|
| 327 | <BR> |
---|
| 328 | </TD> |
---|
| 329 | </TR> |
---|
| 330 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 331 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 332 | <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> |
---|
| 333 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#register(java.lang.String, org.apache.solr.core.CoreDescriptor)">register</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> coreName, |
---|
| 334 | <A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> desc)</CODE> |
---|
| 335 | |
---|
| 336 | <BR> |
---|
| 337 | Register shard with ZooKeeper.</TD> |
---|
| 338 | </TR> |
---|
| 339 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 340 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 341 | <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> |
---|
| 342 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#register(java.lang.String, org.apache.solr.core.CoreDescriptor, boolean)">register</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> coreName, |
---|
| 343 | <A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> desc, |
---|
| 344 | boolean recoverReloadedCores)</CODE> |
---|
| 345 | |
---|
| 346 | <BR> |
---|
| 347 | Register shard with ZooKeeper.</TD> |
---|
| 348 | </TR> |
---|
| 349 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 350 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 351 | <CODE> void</CODE></FONT></TD> |
---|
| 352 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#unregister(java.lang.String, org.apache.solr.cloud.CloudDescriptor)">unregister</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> coreName, |
---|
| 353 | <A HREF="../../../../org/apache/solr/cloud/CloudDescriptor.html" title="class in org.apache.solr.cloud">CloudDescriptor</A> cloudDesc)</CODE> |
---|
| 354 | |
---|
| 355 | <BR> |
---|
| 356 | </TD> |
---|
| 357 | </TR> |
---|
| 358 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 359 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 360 | <CODE> void</CODE></FONT></TD> |
---|
| 361 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#uploadConfigDir(java.io.File, java.lang.String)">uploadConfigDir</A></B>(<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> dir, |
---|
| 362 | <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> configName)</CODE> |
---|
| 363 | |
---|
| 364 | <BR> |
---|
| 365 | </TD> |
---|
| 366 | </TR> |
---|
| 367 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 368 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 369 | <CODE>static void</CODE></FONT></TD> |
---|
| 370 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#uploadConfigDir(org.apache.solr.common.cloud.SolrZkClient, java.io.File, java.lang.String)">uploadConfigDir</A></B>(<A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient, |
---|
| 371 | <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> dir, |
---|
| 372 | <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> configName)</CODE> |
---|
| 373 | |
---|
| 374 | <BR> |
---|
| 375 | </TD> |
---|
| 376 | </TR> |
---|
| 377 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 378 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 379 | <CODE> void</CODE></FONT></TD> |
---|
| 380 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#uploadToZK(java.io.File, java.lang.String)">uploadToZK</A></B>(<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> dir, |
---|
| 381 | <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)</CODE> |
---|
| 382 | |
---|
| 383 | <BR> |
---|
| 384 | </TD> |
---|
| 385 | </TR> |
---|
| 386 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 387 | <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> |
---|
| 388 | <CODE>static void</CODE></FONT></TD> |
---|
| 389 | <TD><CODE><B><A HREF="../../../../org/apache/solr/cloud/ZkController.html#uploadToZK(org.apache.solr.common.cloud.SolrZkClient, java.io.File, java.lang.String)">uploadToZK</A></B>(<A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient, |
---|
| 390 | <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> dir, |
---|
| 391 | <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)</CODE> |
---|
| 392 | |
---|
| 393 | <BR> |
---|
| 394 | </TD> |
---|
| 395 | </TR> |
---|
| 396 | </TABLE> |
---|
| 397 | <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> |
---|
| 398 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 399 | <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> |
---|
| 400 | <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> |
---|
| 401 | </TR> |
---|
| 402 | <TR BGCOLOR="white" CLASS="TableRowColor"> |
---|
| 403 | <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> |
---|
| 404 | </TR> |
---|
| 405 | </TABLE> |
---|
| 406 | |
---|
| 407 | <P> |
---|
| 408 | |
---|
| 409 | <!-- ============ FIELD DETAIL =========== --> |
---|
| 410 | |
---|
| 411 | <A NAME="field_detail"><!-- --></A> |
---|
| 412 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 413 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 414 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 415 | <B>Field Detail</B></FONT></TH> |
---|
| 416 | </TR> |
---|
| 417 | </TABLE> |
---|
| 418 | |
---|
| 419 | <A NAME="COLLECTION_PARAM_PREFIX"><!-- --></A><H3> |
---|
| 420 | COLLECTION_PARAM_PREFIX</H3> |
---|
| 421 | <PRE> |
---|
| 422 | 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_PARAM_PREFIX</B></PRE> |
---|
| 423 | <DL> |
---|
| 424 | <DL> |
---|
| 425 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.cloud.ZkController.COLLECTION_PARAM_PREFIX">Constant Field Values</A></DL> |
---|
| 426 | </DL> |
---|
| 427 | <HR> |
---|
| 428 | |
---|
| 429 | <A NAME="CONFIGNAME_PROP"><!-- --></A><H3> |
---|
| 430 | CONFIGNAME_PROP</H3> |
---|
| 431 | <PRE> |
---|
| 432 | 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>CONFIGNAME_PROP</B></PRE> |
---|
| 433 | <DL> |
---|
| 434 | <DL> |
---|
| 435 | <DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.apache.solr.cloud.ZkController.CONFIGNAME_PROP">Constant Field Values</A></DL> |
---|
| 436 | </DL> |
---|
| 437 | |
---|
| 438 | <!-- ========= CONSTRUCTOR DETAIL ======== --> |
---|
| 439 | |
---|
| 440 | <A NAME="constructor_detail"><!-- --></A> |
---|
| 441 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 442 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 443 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 444 | <B>Constructor Detail</B></FONT></TH> |
---|
| 445 | </TR> |
---|
| 446 | </TABLE> |
---|
| 447 | |
---|
| 448 | <A NAME="ZkController(org.apache.solr.core.CoreContainer, java.lang.String, int, int, java.lang.String, java.lang.String, java.lang.String, org.apache.solr.cloud.CurrentCoreDescriptorProvider)"><!-- --></A><H3> |
---|
| 449 | ZkController</H3> |
---|
| 450 | <PRE> |
---|
| 451 | public <B>ZkController</B>(<A HREF="../../../../org/apache/solr/core/CoreContainer.html" title="class in org.apache.solr.core">CoreContainer</A> cc, |
---|
| 452 | <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, |
---|
| 453 | int zkClientTimeout, |
---|
| 454 | int zkClientConnectTimeout, |
---|
| 455 | <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> localHost, |
---|
| 456 | <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> locaHostPort, |
---|
| 457 | <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> localHostContext, |
---|
| 458 | <A HREF="../../../../org/apache/solr/cloud/CurrentCoreDescriptorProvider.html" title="class in org.apache.solr.cloud">CurrentCoreDescriptorProvider</A> registerOnReconnect) |
---|
| 459 | 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>, |
---|
| 460 | <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>, |
---|
| 461 | <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> |
---|
| 462 | <DL> |
---|
| 463 | <DL> |
---|
| 464 | <DT><B>Parameters:</B><DD><CODE>cc</CODE> - if null, recovery will not be enabled<DD><CODE>zkServerAddress</CODE> - <DD><CODE>zkClientTimeout</CODE> - <DD><CODE>zkClientConnectTimeout</CODE> - <DD><CODE>localHost</CODE> - <DD><CODE>locaHostPort</CODE> - <DD><CODE>localHostContext</CODE> - <DD><CODE>registerOnReconnect</CODE> - |
---|
| 465 | <DT><B>Throws:</B> |
---|
| 466 | <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> |
---|
| 467 | <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> |
---|
| 468 | <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> |
---|
| 469 | </DL> |
---|
| 470 | |
---|
| 471 | <!-- ============ METHOD DETAIL ========== --> |
---|
| 472 | |
---|
| 473 | <A NAME="method_detail"><!-- --></A> |
---|
| 474 | <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> |
---|
| 475 | <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> |
---|
| 476 | <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> |
---|
| 477 | <B>Method Detail</B></FONT></TH> |
---|
| 478 | </TR> |
---|
| 479 | </TABLE> |
---|
| 480 | |
---|
| 481 | <A NAME="main(java.lang.String[])"><!-- --></A><H3> |
---|
| 482 | main</H3> |
---|
| 483 | <PRE> |
---|
| 484 | public static void <B>main</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>[] args) |
---|
| 485 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 486 | <DL> |
---|
| 487 | <DD>Bootstraps the current configs for all collections in solr.xml. |
---|
| 488 | Takes two params - the zkhost to connect to and the solrhome location |
---|
| 489 | to find solr.xml. |
---|
| 490 | |
---|
| 491 | If you also pass a solrPort, it will be used to start |
---|
| 492 | an embedded zk useful for single machine, multi node tests. |
---|
| 493 | <P> |
---|
| 494 | <DD><DL> |
---|
| 495 | <DT><B>Parameters:</B><DD><CODE>args</CODE> - |
---|
| 496 | <DT><B>Throws:</B> |
---|
| 497 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 498 | </DD> |
---|
| 499 | </DL> |
---|
| 500 | <HR> |
---|
| 501 | |
---|
| 502 | <A NAME="close()"><!-- --></A><H3> |
---|
| 503 | close</H3> |
---|
| 504 | <PRE> |
---|
| 505 | public void <B>close</B>()</PRE> |
---|
| 506 | <DL> |
---|
| 507 | <DD>Closes the underlying ZooKeeper client. |
---|
| 508 | <P> |
---|
| 509 | <DD><DL> |
---|
| 510 | </DL> |
---|
| 511 | </DD> |
---|
| 512 | </DL> |
---|
| 513 | <HR> |
---|
| 514 | |
---|
| 515 | <A NAME="configFileExists(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 516 | configFileExists</H3> |
---|
| 517 | <PRE> |
---|
| 518 | public boolean <B>configFileExists</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, |
---|
| 519 | <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> fileName) |
---|
| 520 | throws org.apache.zookeeper.KeeperException, |
---|
| 521 | <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> |
---|
| 522 | <DL> |
---|
| 523 | <DD><DL> |
---|
| 524 | <DT><B>Parameters:</B><DD><CODE>collection</CODE> - <DD><CODE>fileName</CODE> - |
---|
| 525 | <DT><B>Returns:</B><DD>true if config file exists |
---|
| 526 | <DT><B>Throws:</B> |
---|
| 527 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 528 | <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> |
---|
| 529 | </DD> |
---|
| 530 | </DL> |
---|
| 531 | <HR> |
---|
| 532 | |
---|
| 533 | <A NAME="getCloudState()"><!-- --></A><H3> |
---|
| 534 | getCloudState</H3> |
---|
| 535 | <PRE> |
---|
| 536 | public <A HREF="../../../../org/apache/solr/common/cloud/CloudState.html" title="class in org.apache.solr.common.cloud">CloudState</A> <B>getCloudState</B>()</PRE> |
---|
| 537 | <DL> |
---|
| 538 | <DD><DL> |
---|
| 539 | |
---|
| 540 | <DT><B>Returns:</B><DD>information about the cluster from ZooKeeper</DL> |
---|
| 541 | </DD> |
---|
| 542 | </DL> |
---|
| 543 | <HR> |
---|
| 544 | |
---|
| 545 | <A NAME="getConfigFileData(java.lang.String, java.lang.String)"><!-- --></A><H3> |
---|
| 546 | getConfigFileData</H3> |
---|
| 547 | <PRE> |
---|
| 548 | public byte[] <B>getConfigFileData</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> zkConfigName, |
---|
| 549 | <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> fileName) |
---|
| 550 | throws org.apache.zookeeper.KeeperException, |
---|
| 551 | <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> |
---|
| 552 | <DL> |
---|
| 553 | <DD><DL> |
---|
| 554 | <DT><B>Parameters:</B><DD><CODE>zkConfigName</CODE> - <DD><CODE>fileName</CODE> - |
---|
| 555 | <DT><B>Returns:</B><DD>config file data (in bytes) |
---|
| 556 | <DT><B>Throws:</B> |
---|
| 557 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 558 | <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> |
---|
| 559 | </DD> |
---|
| 560 | </DL> |
---|
| 561 | <HR> |
---|
| 562 | |
---|
| 563 | <A NAME="getHostName()"><!-- --></A><H3> |
---|
| 564 | getHostName</H3> |
---|
| 565 | <PRE> |
---|
| 566 | 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>getHostName</B>()</PRE> |
---|
| 567 | <DL> |
---|
| 568 | <DD><DL> |
---|
| 569 | </DL> |
---|
| 570 | </DD> |
---|
| 571 | </DL> |
---|
| 572 | <HR> |
---|
| 573 | |
---|
| 574 | <A NAME="getHostPort()"><!-- --></A><H3> |
---|
| 575 | getHostPort</H3> |
---|
| 576 | <PRE> |
---|
| 577 | 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>getHostPort</B>()</PRE> |
---|
| 578 | <DL> |
---|
| 579 | <DD><DL> |
---|
| 580 | </DL> |
---|
| 581 | </DD> |
---|
| 582 | </DL> |
---|
| 583 | <HR> |
---|
| 584 | |
---|
| 585 | <A NAME="getZkClient()"><!-- --></A><H3> |
---|
| 586 | getZkClient</H3> |
---|
| 587 | <PRE> |
---|
| 588 | public <A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> <B>getZkClient</B>()</PRE> |
---|
| 589 | <DL> |
---|
| 590 | <DD><DL> |
---|
| 591 | </DL> |
---|
| 592 | </DD> |
---|
| 593 | </DL> |
---|
| 594 | <HR> |
---|
| 595 | |
---|
| 596 | <A NAME="getZkServerAddress()"><!-- --></A><H3> |
---|
| 597 | getZkServerAddress</H3> |
---|
| 598 | <PRE> |
---|
| 599 | 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>getZkServerAddress</B>()</PRE> |
---|
| 600 | <DL> |
---|
| 601 | <DD><DL> |
---|
| 602 | |
---|
| 603 | <DT><B>Returns:</B><DD>zookeeper server address</DL> |
---|
| 604 | </DD> |
---|
| 605 | </DL> |
---|
| 606 | <HR> |
---|
| 607 | |
---|
| 608 | <A NAME="isConnected()"><!-- --></A><H3> |
---|
| 609 | isConnected</H3> |
---|
| 610 | <PRE> |
---|
| 611 | public boolean <B>isConnected</B>()</PRE> |
---|
| 612 | <DL> |
---|
| 613 | <DD><DL> |
---|
| 614 | </DL> |
---|
| 615 | </DD> |
---|
| 616 | </DL> |
---|
| 617 | <HR> |
---|
| 618 | |
---|
| 619 | <A NAME="getNodeName()"><!-- --></A><H3> |
---|
| 620 | getNodeName</H3> |
---|
| 621 | <PRE> |
---|
| 622 | 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>getNodeName</B>()</PRE> |
---|
| 623 | <DL> |
---|
| 624 | <DD><DL> |
---|
| 625 | </DL> |
---|
| 626 | </DD> |
---|
| 627 | </DL> |
---|
| 628 | <HR> |
---|
| 629 | |
---|
| 630 | <A NAME="pathExists(java.lang.String)"><!-- --></A><H3> |
---|
| 631 | pathExists</H3> |
---|
| 632 | <PRE> |
---|
| 633 | public boolean <B>pathExists</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) |
---|
| 634 | throws org.apache.zookeeper.KeeperException, |
---|
| 635 | <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> |
---|
| 636 | <DL> |
---|
| 637 | <DD><DL> |
---|
| 638 | <DT><B>Parameters:</B><DD><CODE>path</CODE> - |
---|
| 639 | <DT><B>Returns:</B><DD>true if the path exists |
---|
| 640 | <DT><B>Throws:</B> |
---|
| 641 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 642 | <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> |
---|
| 643 | </DD> |
---|
| 644 | </DL> |
---|
| 645 | <HR> |
---|
| 646 | |
---|
| 647 | <A NAME="readConfigName(java.lang.String)"><!-- --></A><H3> |
---|
| 648 | readConfigName</H3> |
---|
| 649 | <PRE> |
---|
| 650 | 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>readConfigName</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) |
---|
| 651 | throws org.apache.zookeeper.KeeperException, |
---|
| 652 | <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>, |
---|
| 653 | <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> |
---|
| 654 | <DL> |
---|
| 655 | <DD><DL> |
---|
| 656 | <DT><B>Parameters:</B><DD><CODE>collection</CODE> - |
---|
| 657 | <DT><B>Returns:</B><DD>config value |
---|
| 658 | <DT><B>Throws:</B> |
---|
| 659 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 660 | <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> |
---|
| 661 | <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> |
---|
| 662 | </DD> |
---|
| 663 | </DL> |
---|
| 664 | <HR> |
---|
| 665 | |
---|
| 666 | <A NAME="register(java.lang.String, org.apache.solr.core.CoreDescriptor)"><!-- --></A><H3> |
---|
| 667 | register</H3> |
---|
| 668 | <PRE> |
---|
| 669 | 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>register</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> coreName, |
---|
| 670 | <A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> desc) |
---|
| 671 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 672 | <DL> |
---|
| 673 | <DD>Register shard with ZooKeeper. |
---|
| 674 | <P> |
---|
| 675 | <DD><DL> |
---|
| 676 | <DT><B>Parameters:</B><DD><CODE>coreName</CODE> - <DD><CODE>desc</CODE> - |
---|
| 677 | <DT><B>Returns:</B><DD>the shardId for the SolrCore |
---|
| 678 | <DT><B>Throws:</B> |
---|
| 679 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 680 | </DD> |
---|
| 681 | </DL> |
---|
| 682 | <HR> |
---|
| 683 | |
---|
| 684 | <A NAME="register(java.lang.String, org.apache.solr.core.CoreDescriptor, boolean)"><!-- --></A><H3> |
---|
| 685 | register</H3> |
---|
| 686 | <PRE> |
---|
| 687 | 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>register</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> coreName, |
---|
| 688 | <A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> desc, |
---|
| 689 | boolean recoverReloadedCores) |
---|
| 690 | throws <A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></PRE> |
---|
| 691 | <DL> |
---|
| 692 | <DD>Register shard with ZooKeeper. |
---|
| 693 | <P> |
---|
| 694 | <DD><DL> |
---|
| 695 | <DT><B>Parameters:</B><DD><CODE>coreName</CODE> - <DD><CODE>desc</CODE> - <DD><CODE>recoverReloadedCores</CODE> - |
---|
| 696 | <DT><B>Returns:</B><DD>the shardId for the SolrCore |
---|
| 697 | <DT><B>Throws:</B> |
---|
| 698 | <DD><CODE><A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/Exception.html?is-external=true" title="class or interface in java.lang">Exception</A></CODE></DL> |
---|
| 699 | </DD> |
---|
| 700 | </DL> |
---|
| 701 | <HR> |
---|
| 702 | |
---|
| 703 | <A NAME="getBaseUrl()"><!-- --></A><H3> |
---|
| 704 | getBaseUrl</H3> |
---|
| 705 | <PRE> |
---|
| 706 | 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>getBaseUrl</B>()</PRE> |
---|
| 707 | <DL> |
---|
| 708 | <DD><DL> |
---|
| 709 | </DL> |
---|
| 710 | </DD> |
---|
| 711 | </DL> |
---|
| 712 | <HR> |
---|
| 713 | |
---|
| 714 | <A NAME="publish(org.apache.solr.core.CoreDescriptor, java.lang.String)"><!-- --></A><H3> |
---|
| 715 | publish</H3> |
---|
| 716 | <PRE> |
---|
| 717 | public void <B>publish</B>(<A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> cd, |
---|
| 718 | <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> state) |
---|
| 719 | throws org.apache.zookeeper.KeeperException, |
---|
| 720 | <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> |
---|
| 721 | <DL> |
---|
| 722 | <DD>Publish core state to overseer. |
---|
| 723 | <P> |
---|
| 724 | <DD><DL> |
---|
| 725 | <DT><B>Parameters:</B><DD><CODE>cd</CODE> - <DD><CODE>state</CODE> - |
---|
| 726 | <DT><B>Throws:</B> |
---|
| 727 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 728 | <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> |
---|
| 729 | </DD> |
---|
| 730 | </DL> |
---|
| 731 | <HR> |
---|
| 732 | |
---|
| 733 | <A NAME="unregister(java.lang.String, org.apache.solr.cloud.CloudDescriptor)"><!-- --></A><H3> |
---|
| 734 | unregister</H3> |
---|
| 735 | <PRE> |
---|
| 736 | public void <B>unregister</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> coreName, |
---|
| 737 | <A HREF="../../../../org/apache/solr/cloud/CloudDescriptor.html" title="class in org.apache.solr.cloud">CloudDescriptor</A> cloudDesc) |
---|
| 738 | 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>, |
---|
| 739 | org.apache.zookeeper.KeeperException</PRE> |
---|
| 740 | <DL> |
---|
| 741 | <DD><DL> |
---|
| 742 | <DT><B>Parameters:</B><DD><CODE>coreName</CODE> - <DD><CODE>cloudDesc</CODE> - |
---|
| 743 | <DT><B>Throws:</B> |
---|
| 744 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 745 | <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> |
---|
| 746 | </DD> |
---|
| 747 | </DL> |
---|
| 748 | <HR> |
---|
| 749 | |
---|
| 750 | <A NAME="uploadToZK(java.io.File, java.lang.String)"><!-- --></A><H3> |
---|
| 751 | uploadToZK</H3> |
---|
| 752 | <PRE> |
---|
| 753 | public void <B>uploadToZK</B>(<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> dir, |
---|
| 754 | <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) |
---|
| 755 | 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>, |
---|
| 756 | org.apache.zookeeper.KeeperException, |
---|
| 757 | <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> |
---|
| 758 | <DL> |
---|
| 759 | <DD><DL> |
---|
| 760 | <DT><B>Parameters:</B><DD><CODE>dir</CODE> - <DD><CODE>zkPath</CODE> - |
---|
| 761 | <DT><B>Throws:</B> |
---|
| 762 | <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> |
---|
| 763 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 764 | <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> |
---|
| 765 | </DD> |
---|
| 766 | </DL> |
---|
| 767 | <HR> |
---|
| 768 | |
---|
| 769 | <A NAME="uploadConfigDir(java.io.File, java.lang.String)"><!-- --></A><H3> |
---|
| 770 | uploadConfigDir</H3> |
---|
| 771 | <PRE> |
---|
| 772 | public void <B>uploadConfigDir</B>(<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> dir, |
---|
| 773 | <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> configName) |
---|
| 774 | 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>, |
---|
| 775 | org.apache.zookeeper.KeeperException, |
---|
| 776 | <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> |
---|
| 777 | <DL> |
---|
| 778 | <DD><DL> |
---|
| 779 | <DT><B>Parameters:</B><DD><CODE>dir</CODE> - <DD><CODE>configName</CODE> - |
---|
| 780 | <DT><B>Throws:</B> |
---|
| 781 | <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> |
---|
| 782 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 783 | <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> |
---|
| 784 | </DD> |
---|
| 785 | </DL> |
---|
| 786 | <HR> |
---|
| 787 | |
---|
| 788 | <A NAME="createCollectionZkNode(org.apache.solr.cloud.CloudDescriptor)"><!-- --></A><H3> |
---|
| 789 | createCollectionZkNode</H3> |
---|
| 790 | <PRE> |
---|
| 791 | public void <B>createCollectionZkNode</B>(<A HREF="../../../../org/apache/solr/cloud/CloudDescriptor.html" title="class in org.apache.solr.cloud">CloudDescriptor</A> cd) |
---|
| 792 | throws org.apache.zookeeper.KeeperException, |
---|
| 793 | <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>, |
---|
| 794 | <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> |
---|
| 795 | <DL> |
---|
| 796 | <DD><DL> |
---|
| 797 | |
---|
| 798 | <DT><B>Throws:</B> |
---|
| 799 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 800 | <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> |
---|
| 801 | <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> |
---|
| 802 | </DD> |
---|
| 803 | </DL> |
---|
| 804 | <HR> |
---|
| 805 | |
---|
| 806 | <A NAME="getZkStateReader()"><!-- --></A><H3> |
---|
| 807 | getZkStateReader</H3> |
---|
| 808 | <PRE> |
---|
| 809 | public <A HREF="../../../../org/apache/solr/common/cloud/ZkStateReader.html" title="class in org.apache.solr.common.cloud">ZkStateReader</A> <B>getZkStateReader</B>()</PRE> |
---|
| 810 | <DL> |
---|
| 811 | <DD><DL> |
---|
| 812 | </DL> |
---|
| 813 | </DD> |
---|
| 814 | </DL> |
---|
| 815 | <HR> |
---|
| 816 | |
---|
| 817 | <A NAME="uploadToZK(org.apache.solr.common.cloud.SolrZkClient, java.io.File, java.lang.String)"><!-- --></A><H3> |
---|
| 818 | uploadToZK</H3> |
---|
| 819 | <PRE> |
---|
| 820 | public static void <B>uploadToZK</B>(<A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient, |
---|
| 821 | <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> dir, |
---|
| 822 | <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) |
---|
| 823 | 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>, |
---|
| 824 | org.apache.zookeeper.KeeperException, |
---|
| 825 | <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> |
---|
| 826 | <DL> |
---|
| 827 | <DD><DL> |
---|
| 828 | |
---|
| 829 | <DT><B>Throws:</B> |
---|
| 830 | <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> |
---|
| 831 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 832 | <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> |
---|
| 833 | </DD> |
---|
| 834 | </DL> |
---|
| 835 | <HR> |
---|
| 836 | |
---|
| 837 | <A NAME="uploadConfigDir(org.apache.solr.common.cloud.SolrZkClient, java.io.File, java.lang.String)"><!-- --></A><H3> |
---|
| 838 | uploadConfigDir</H3> |
---|
| 839 | <PRE> |
---|
| 840 | public static void <B>uploadConfigDir</B>(<A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient, |
---|
| 841 | <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> dir, |
---|
| 842 | <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> configName) |
---|
| 843 | 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>, |
---|
| 844 | org.apache.zookeeper.KeeperException, |
---|
| 845 | <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> |
---|
| 846 | <DL> |
---|
| 847 | <DD><DL> |
---|
| 848 | |
---|
| 849 | <DT><B>Throws:</B> |
---|
| 850 | <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> |
---|
| 851 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 852 | <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> |
---|
| 853 | </DD> |
---|
| 854 | </DL> |
---|
| 855 | <HR> |
---|
| 856 | |
---|
| 857 | <A NAME="preRegister(org.apache.solr.core.CoreDescriptor)"><!-- --></A><H3> |
---|
| 858 | preRegister</H3> |
---|
| 859 | <PRE> |
---|
| 860 | public void <B>preRegister</B>(<A HREF="../../../../org/apache/solr/core/CoreDescriptor.html" title="class in org.apache.solr.core">CoreDescriptor</A> cd) |
---|
| 861 | throws org.apache.zookeeper.KeeperException, |
---|
| 862 | <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> |
---|
| 863 | <DL> |
---|
| 864 | <DD><DL> |
---|
| 865 | |
---|
| 866 | <DT><B>Throws:</B> |
---|
| 867 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 868 | <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> |
---|
| 869 | </DD> |
---|
| 870 | </DL> |
---|
| 871 | <HR> |
---|
| 872 | |
---|
| 873 | <A NAME="bootstrapConf(org.apache.solr.common.cloud.SolrZkClient, org.apache.solr.core.Config, java.lang.String)"><!-- --></A><H3> |
---|
| 874 | bootstrapConf</H3> |
---|
| 875 | <PRE> |
---|
| 876 | public static void <B>bootstrapConf</B>(<A HREF="../../../../org/apache/solr/common/cloud/SolrZkClient.html" title="class in org.apache.solr.common.cloud">SolrZkClient</A> zkClient, |
---|
| 877 | <A HREF="../../../../org/apache/solr/core/Config.html" title="class in org.apache.solr.core">Config</A> cfg, |
---|
| 878 | <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> solrHome) |
---|
| 879 | 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>, |
---|
| 880 | org.apache.zookeeper.KeeperException, |
---|
| 881 | <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> |
---|
| 882 | <DL> |
---|
| 883 | <DD>If in SolrCloud mode, upload config sets for each SolrCore in solr.xml. |
---|
| 884 | <P> |
---|
| 885 | <DD><DL> |
---|
| 886 | |
---|
| 887 | <DT><B>Throws:</B> |
---|
| 888 | <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> |
---|
| 889 | <DD><CODE>org.apache.zookeeper.KeeperException</CODE> |
---|
| 890 | <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> |
---|
| 891 | </DD> |
---|
| 892 | </DL> |
---|
| 893 | <!-- ========= END OF CLASS DATA ========= --> |
---|
| 894 | <HR> |
---|
| 895 | |
---|
| 896 | |
---|
| 897 | <!-- ======= START OF BOTTOM NAVBAR ====== --> |
---|
| 898 | <A NAME="navbar_bottom"><!-- --></A> |
---|
| 899 | <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> |
---|
| 900 | <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> |
---|
| 901 | <TR> |
---|
| 902 | <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> |
---|
| 903 | <A NAME="navbar_bottom_firstrow"><!-- --></A> |
---|
| 904 | <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> |
---|
| 905 | <TR ALIGN="center" VALIGN="top"> |
---|
| 906 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> |
---|
| 907 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> |
---|
| 908 | <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> |
---|
| 909 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ZkController.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> |
---|
| 910 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> |
---|
| 911 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> |
---|
| 912 | <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> |
---|
| 913 | </TR> |
---|
| 914 | </TABLE> |
---|
| 915 | </TD> |
---|
| 916 | <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> |
---|
| 917 | </EM> |
---|
| 918 | </TD> |
---|
| 919 | </TR> |
---|
| 920 | |
---|
| 921 | <TR> |
---|
| 922 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 923 | <A HREF="../../../../org/apache/solr/cloud/SyncStrategy.html" title="class in org.apache.solr.cloud"><B>PREV CLASS</B></A> |
---|
| 924 | <A HREF="../../../../org/apache/solr/cloud/ZkSolrResourceLoader.html" title="class in org.apache.solr.cloud"><B>NEXT CLASS</B></A></FONT></TD> |
---|
| 925 | <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> |
---|
| 926 | <A HREF="../../../../index.html?org/apache/solr/cloud/ZkController.html" target="_top"><B>FRAMES</B></A> |
---|
| 927 | <A HREF="ZkController.html" target="_top"><B>NO FRAMES</B></A> |
---|
| 928 | <SCRIPT type="text/javascript"> |
---|
| 929 | <!-- |
---|
| 930 | if(window==top) { |
---|
| 931 | document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); |
---|
| 932 | } |
---|
| 933 | //--> |
---|
| 934 | </SCRIPT> |
---|
| 935 | <NOSCRIPT> |
---|
| 936 | <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A> |
---|
| 937 | </NOSCRIPT> |
---|
| 938 | |
---|
| 939 | |
---|
| 940 | </FONT></TD> |
---|
| 941 | </TR> |
---|
| 942 | <TR> |
---|
| 943 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 944 | SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD> |
---|
| 945 | <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> |
---|
| 946 | DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD> |
---|
| 947 | </TR> |
---|
| 948 | </TABLE> |
---|
| 949 | <A NAME="skip-navbar_bottom"></A> |
---|
| 950 | <!-- ======== END OF BOTTOM NAVBAR ======= --> |
---|
| 951 | |
---|
| 952 | <HR> |
---|
| 953 | |
---|
| 954 | <address>Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.</address> |
---|
| 955 | <script src='../../../../prettify.js' type='text/javascript'></script> |
---|
| 956 | <script type='text/javascript'> |
---|
| 957 | (function(){ |
---|
| 958 | var oldonload = window.onload; |
---|
| 959 | if (typeof oldonload != 'function') { |
---|
| 960 | window.onload = prettyPrint; |
---|
| 961 | } else { |
---|
| 962 | window.onload = function() { |
---|
| 963 | oldonload(); |
---|
| 964 | prettyPrint(); |
---|
| 965 | } |
---|
| 966 | } |
---|
| 967 | })(); |
---|
| 968 | </script> |
---|
| 969 | |
---|
| 970 | </BODY> |
---|
| 971 | </HTML> |
---|