1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
5 <!-- Generated by javadoc (build 1.6.0_30) on Tue Nov 19 11:17:04 CET 2013 -->
6 <META http-equiv="Content-Type" content="text/html; charset=utf-8">
8 Uses of Class org.apache.solr.common.cloud.Replica (Solr 4.6.0 API)
11 <META NAME="date" CONTENT="2013-11-19">
13 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../../stylesheet.css" TITLE="Style">
15 <SCRIPT type="text/javascript">
16 function windowTitle()
18 if (location.href.indexOf('is-external=true') == -1) {
19 parent.document.title="Uses of Class org.apache.solr.common.cloud.Replica (Solr 4.6.0 API)";
28 <BODY BGCOLOR="white" onload="windowTitle();">
32 <!-- ========= START OF TOP NAVBAR ======= -->
33 <A NAME="navbar_top"><!-- --></A>
34 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
35 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
37 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
38 <A NAME="navbar_top_firstrow"><!-- --></A>
39 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
40 <TR ALIGN="center" VALIGN="top">
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
44 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
59 NEXT</FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../../../../index.html?org/apache/solr/common/cloud//class-useReplica.html" target="_top"><B>FRAMES</B></A>
62 <A HREF="Replica.html" target="_top"><B>NO FRAMES</B></A>
63 <SCRIPT type="text/javascript">
66 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
71 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
78 <A NAME="skip-navbar_top"></A>
79 <!-- ========= END OF TOP NAVBAR ========= -->
84 <B>Uses of Class<br>org.apache.solr.common.cloud.Replica</B></H2>
87 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
88 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
89 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
90 Packages that use <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></FONT></TH>
92 <TR BGCOLOR="white" CLASS="TableRowColor">
93 <TD><A HREF="#org.apache.solr.common.cloud"><B>org.apache.solr.common.cloud</B></A></TD>
94 <TD>Common Solr Cloud and ZooKeeper related classes reused on both clients & server. </TD>
99 <A NAME="org.apache.solr.common.cloud"><!-- --></A>
100 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
101 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
102 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
103 Uses of <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A> in <A HREF="../../../../../../org/apache/solr/common/cloud/package-summary.html">org.apache.solr.common.cloud</A></FONT></TH>
109 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
110 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
111 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../org/apache/solr/common/cloud/package-summary.html">org.apache.solr.common.cloud</A> that return <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></FONT></TH>
113 <TR BGCOLOR="white" CLASS="TableRowColor">
114 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
115 <CODE> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></CODE></FONT></TD>
116 <TD><CODE><B>Slice.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/Slice.html#getLeader()">getLeader</A></B>()</CODE>
119 </TD>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></CODE></FONT></TD>
124 <TD><CODE><B>ClusterState.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/ClusterState.html#getLeader(java.lang.String, java.lang.String)">getLeader</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,
125 <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> sliceName)</CODE>
128 Get the lead replica for specific collection, or null if one currently doesn't exist.</TD>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
132 <CODE> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></CODE></FONT></TD>
133 <TD><CODE><B>ZkStateReader.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getLeaderRetry(java.lang.String, java.lang.String)">getLeaderRetry</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,
134 <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>
137 Get shard leader properties, with retry if none exist.</TD>
139 <TR BGCOLOR="white" CLASS="TableRowColor">
140 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
141 <CODE> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></CODE></FONT></TD>
142 <TD><CODE><B>ZkStateReader.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/ZkStateReader.html#getLeaderRetry(java.lang.String, java.lang.String, int)">getLeaderRetry</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,
143 <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,
144 int timeout)</CODE>
147 Get shard leader properties, with retry if none exist.</TD>
149 <TR BGCOLOR="white" CLASS="TableRowColor">
150 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
151 <CODE> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></CODE></FONT></TD>
152 <TD><CODE><B>Slice.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/Slice.html#getReplica(java.lang.String)">getReplica</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> replicaName)</CODE>
155 </TD>
157 <TR BGCOLOR="white" CLASS="TableRowColor">
158 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
159 <CODE> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></CODE></FONT></TD>
160 <TD><CODE><B>ClusterState.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/ClusterState.html#getReplica(java.lang.String, java.lang.String)">getReplica</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,
161 <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> coreNodeName)</CODE>
164 Gets the replica by the core name (assuming the slice is unknown) or null if replica is not found.</TD>
170 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
171 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
172 <TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../../../org/apache/solr/common/cloud/package-summary.html">org.apache.solr.common.cloud</A> that return types with arguments of type <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></FONT></TH>
174 <TR BGCOLOR="white" CLASS="TableRowColor">
175 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
176 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Collection.html?is-external=true" title="class or interface in java.util">Collection</A><<A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A>></CODE></FONT></TD>
177 <TD><CODE><B>Slice.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/Slice.html#getReplicas()">getReplicas</A></B>()</CODE>
180 Gets the list of replicas for this slice.</TD>
182 <TR BGCOLOR="white" CLASS="TableRowColor">
183 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
184 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A>></CODE></FONT></TD>
185 <TD><CODE><B>Slice.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/Slice.html#getReplicasCopy()">getReplicasCopy</A></B>()</CODE>
188 </TD>
190 <TR BGCOLOR="white" CLASS="TableRowColor">
191 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
192 <CODE> <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A>></CODE></FONT></TD>
193 <TD><CODE><B>Slice.</B><B><A HREF="../../../../../../org/apache/solr/common/cloud/Slice.html#getReplicasMap()">getReplicasMap</A></B>()</CODE>
196 Get the map of coreNodeName to replicas for this slice.</TD>
202 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
203 <TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
204 <TH ALIGN="left" COLSPAN="2">Constructor parameters in <A HREF="../../../../../../org/apache/solr/common/cloud/package-summary.html">org.apache.solr.common.cloud</A> with type arguments of type <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A></FONT></TH>
206 <TR BGCOLOR="white" CLASS="TableRowColor">
207 <TD><CODE><B><A HREF="../../../../../../org/apache/solr/common/cloud/Slice.html#Slice(java.lang.String, java.util.Map, java.util.Map)">Slice</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> name,
208 <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud">Replica</A>> replicas,
209 <A HREF="http://download.oracle.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><<A HREF="http://download.oracle.com/javase/6/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>,<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>> props)</CODE>
212 </TD>
220 <!-- ======= START OF BOTTOM NAVBAR ====== -->
221 <A NAME="navbar_bottom"><!-- --></A>
222 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
223 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
225 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
226 <A NAME="navbar_bottom_firstrow"><!-- --></A>
227 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
228 <TR ALIGN="center" VALIGN="top">
229 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
230 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
231 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../org/apache/solr/common/cloud/Replica.html" title="class in org.apache.solr.common.cloud"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD>
232 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Use</B></FONT> </TD>
233 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
234 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
235 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
239 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
245 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
247 NEXT</FONT></TD>
248 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
249 <A HREF="../../../../../../index.html?org/apache/solr/common/cloud//class-useReplica.html" target="_top"><B>FRAMES</B></A>
250 <A HREF="Replica.html" target="_top"><B>NO FRAMES</B></A>
251 <SCRIPT type="text/javascript">
254 document.writeln('<A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
259 <A HREF="../../../../../../allclasses-noframe.html"><B>All Classes</B></A>
266 <A NAME="skip-navbar_bottom"></A>
267 <!-- ======== END OF BOTTOM NAVBAR ======= -->
271 <i>Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.</i>
272 <script src='../../../../../../prettify.js' type='text/javascript'></script>
273 <script type='text/javascript'>
275 var oldonload = window.onload;
276 if (typeof oldonload != 'function') {
277 window.onload = prettyPrint;
279 window.onload = function() {