Debian Codegraph @

docs/java/com/sleepycat/db/ReplicationManagerSiteConfig.html

raw symbols SCIP
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_51) on Mon Sep 09 11:47:05 EDT 2013 -->
6 <TITLE>
7 ReplicationManagerSiteConfig (Oracle - Berkeley DB Java API)
8 </TITLE>
9
10 <META NAME="date" CONTENT="2013-09-09">
11
12 <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style">
13
14 <SCRIPT type="text/javascript">
15 function windowTitle()
16 {
17 if (location.href.indexOf('is-external=true') == -1) {
18 parent.document.title="ReplicationManagerSiteConfig (Oracle - Berkeley DB Java API)";
19 }
20 }
21 </SCRIPT>
22 <NOSCRIPT>
23 </NOSCRIPT>
24
25 </HEAD>
26
27 <BODY BGCOLOR="white" onload="windowTitle();">
28 <HR>
29
30
31 <!-- ========= START OF TOP NAVBAR ======= -->
32 <A NAME="navbar_top"><!-- --></A>
33 <A HREF="#skip-navbar_top" title="Skip navigation links"></A>
34 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
35 <TR>
36 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
37 <A NAME="navbar_top_firstrow"><!-- --></A>
38 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
39 <TR ALIGN="center" VALIGN="top">
40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
42 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationManagerSiteConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
45 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
46 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
47 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
48 </TR>
49 </TABLE>
50 </TD>
51 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
52 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
53 </TD>
54 </TR>
55
56 <TR>
57 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
58 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteInfo.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
60 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
61 <A HREF="../../../index.html?com/sleepycat/db/ReplicationManagerSiteConfig.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="ReplicationManagerSiteConfig.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
63 &nbsp;<SCRIPT type="text/javascript">
64 <!--
65 if(window==top) {
66 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
67 }
68 //-->
69 </SCRIPT>
70 <NOSCRIPT>
71 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
72 </NOSCRIPT>
73
74
75 </FONT></TD>
76 </TR>
77 <TR>
78 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
79 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
80 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
81 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
82 </TR>
83 </TABLE>
84 <A NAME="skip-navbar_top"></A>
85 <!-- ========= END OF TOP NAVBAR ========= -->
86
87 <HR>
88 <!-- ======== START OF CLASS DATA ======== -->
89 <H2>
90 <FONT SIZE="-1">
91 com.sleepycat.db</FONT>
92 <BR>
93 Class ReplicationManagerSiteConfig</H2>
94 <PRE>
95 <A HREF="http://download.oracle.com/javase/1.5.0/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>com.sleepycat.db.ReplicationManagerSiteConfig</B>
97 </PRE>
98 <DL>
99 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DD>
100 </DL>
101 <HR>
102 <DL>
103 <DT><PRE>public class <B>ReplicationManagerSiteConfig</B><DT>extends <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A><DT>implements <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Cloneable.html?is-external=true" title="class or interface in java.lang">Cloneable</A></DL>
104 </PRE>
105
106 <P>
107 Specifies the attributes of a site in the replication group.
108 <P>
109
110 <P>
111 <HR>
112
113 <P>
114
115 <!-- ======== CONSTRUCTOR SUMMARY ======== -->
116
117 <A NAME="constructor_summary"><!-- --></A>
118 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
119 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
120 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
121 <B>Constructor Summary</B></FONT></TH>
122 </TR>
123 <TR BGCOLOR="white" CLASS="TableRowColor">
124 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#ReplicationManagerSiteConfig()">ReplicationManagerSiteConfig</A></B>()</CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;An instance created using the default constructor is initialized
128 with the system's default settings.</TD>
129 </TR>
130 <TR BGCOLOR="white" CLASS="TableRowColor">
131 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#ReplicationManagerSiteConfig(java.lang.String, long)">ReplicationManagerSiteConfig</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;host,
132 long&nbsp;port)</CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure the host and port for a site in replication group.</TD>
136 </TR>
137 </TABLE>
138 &nbsp;
139 <!-- ========== METHOD SUMMARY =========== -->
140
141 <A NAME="method_summary"><!-- --></A>
142 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
143 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
144 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
145 <B>Method Summary</B></FONT></TH>
146 </TR>
147 <TR BGCOLOR="white" CLASS="TableRowColor">
148 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
149 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A></CODE></FONT></TD>
150 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getAddress()">getAddress</A></B>()</CODE>
151
152 <BR>
153 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the address of the site.</TD>
154 </TR>
155 <TR BGCOLOR="white" CLASS="TableRowColor">
156 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
157 <CODE>&nbsp;boolean</CODE></FONT></TD>
158 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getBootstrapHelper()">getBootstrapHelper</A></B>()</CODE>
159
160 <BR>
161 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is a helper for the local site.</TD>
162 </TR>
163 <TR BGCOLOR="white" CLASS="TableRowColor">
164 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
165 <CODE>&nbsp;boolean</CODE></FONT></TD>
166 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getGroupCreator()">getGroupCreator</A></B>()</CODE>
167
168 <BR>
169 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is a group creator.</TD>
170 </TR>
171 <TR BGCOLOR="white" CLASS="TableRowColor">
172 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
173 <CODE>&nbsp;<A HREF="http://download.oracle.com/javase/1.5.0/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="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getHost()">getHost</A></B>()</CODE>
175
176 <BR>
177 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the host of the site.</TD>
178 </TR>
179 <TR BGCOLOR="white" CLASS="TableRowColor">
180 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
181 <CODE>&nbsp;boolean</CODE></FONT></TD>
182 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getLegacy()">getLegacy</A></B>()</CODE>
183
184 <BR>
185 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is in a legacy group.</TD>
186 </TR>
187 <TR BGCOLOR="white" CLASS="TableRowColor">
188 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
189 <CODE>&nbsp;boolean</CODE></FONT></TD>
190 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getLocalSite()">getLocalSite</A></B>()</CODE>
191
192 <BR>
193 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is the local site.</TD>
194 </TR>
195 <TR BGCOLOR="white" CLASS="TableRowColor">
196 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
197 <CODE>&nbsp;boolean</CODE></FONT></TD>
198 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getPeer()">getPeer</A></B>()</CODE>
199
200 <BR>
201 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is peer.</TD>
202 </TR>
203 <TR BGCOLOR="white" CLASS="TableRowColor">
204 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
205 <CODE>&nbsp;long</CODE></FONT></TD>
206 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getPort()">getPort</A></B>()</CODE>
207
208 <BR>
209 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return the port of the site.</TD>
210 </TR>
211 <TR BGCOLOR="white" CLASS="TableRowColor">
212 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
213 <CODE>&nbsp;void</CODE></FONT></TD>
214 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setAddress(com.sleepycat.db.ReplicationHostAddress)">setAddress</A></B>(<A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A>&nbsp;address)</CODE>
215
216 <BR>
217 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure the address for a site in replication group.</TD>
218 </TR>
219 <TR BGCOLOR="white" CLASS="TableRowColor">
220 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
221 <CODE>&nbsp;void</CODE></FONT></TD>
222 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setBootstrapHelper(boolean)">setBootstrapHelper</A></B>(boolean&nbsp;helper)</CODE>
223
224 <BR>
225 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be a helper site.</TD>
226 </TR>
227 <TR BGCOLOR="white" CLASS="TableRowColor">
228 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
229 <CODE>&nbsp;void</CODE></FONT></TD>
230 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setGroupCreator(boolean)">setGroupCreator</A></B>(boolean&nbsp;groupCreator)</CODE>
231
232 <BR>
233 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be a group creator.</TD>
234 </TR>
235 <TR BGCOLOR="white" CLASS="TableRowColor">
236 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
237 <CODE>&nbsp;void</CODE></FONT></TD>
238 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setHost(java.lang.String)">setHost</A></B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;host)</CODE>
239
240 <BR>
241 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure the host of the site.</TD>
242 </TR>
243 <TR BGCOLOR="white" CLASS="TableRowColor">
244 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
245 <CODE>&nbsp;void</CODE></FONT></TD>
246 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setLegacy(boolean)">setLegacy</A></B>(boolean&nbsp;legacy)</CODE>
247
248 <BR>
249 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the site in a legacy group.</TD>
250 </TR>
251 <TR BGCOLOR="white" CLASS="TableRowColor">
252 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
253 <CODE>&nbsp;void</CODE></FONT></TD>
254 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setLocalSite(boolean)">setLocalSite</A></B>(boolean&nbsp;localSite)</CODE>
255
256 <BR>
257 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be the local site.</TD>
258 </TR>
259 <TR BGCOLOR="white" CLASS="TableRowColor">
260 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
261 <CODE>&nbsp;void</CODE></FONT></TD>
262 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setPeer(boolean)">setPeer</A></B>(boolean&nbsp;peer)</CODE>
263
264 <BR>
265 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be peer to local site.</TD>
266 </TR>
267 <TR BGCOLOR="white" CLASS="TableRowColor">
268 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
269 <CODE>&nbsp;void</CODE></FONT></TD>
270 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setPort(long)">setPort</A></B>(long&nbsp;port)</CODE>
271
272 <BR>
273 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Configure the port of the site.</TD>
274 </TR>
275 </TABLE>
276 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
277 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
278 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
279 <TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></B></TH>
280 </TR>
281 <TR BGCOLOR="white" CLASS="TableRowColor">
282 <TD><CODE><A HREF="http://download.oracle.com/javase/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/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/1.5.0/docs/api/java/lang/Object.html?is-external=true#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD>
283 </TR>
284 </TABLE>
285 &nbsp;
286 <P>
287
288 <!-- ========= CONSTRUCTOR DETAIL ======== -->
289
290 <A NAME="constructor_detail"><!-- --></A>
291 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
292 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
293 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
294 <B>Constructor Detail</B></FONT></TH>
295 </TR>
296 </TABLE>
297
298 <A NAME="ReplicationManagerSiteConfig()"><!-- --></A><H3>
299 ReplicationManagerSiteConfig</H3>
300 <PRE>
301 public <B>ReplicationManagerSiteConfig</B>()</PRE>
302 <DL>
303 <DD>An instance created using the default constructor is initialized
304 with the system's default settings.
305 <P>
306 </DL>
307 <HR>
308
309 <A NAME="ReplicationManagerSiteConfig(java.lang.String, long)"><!-- --></A><H3>
310 ReplicationManagerSiteConfig</H3>
311 <PRE>
312 public <B>ReplicationManagerSiteConfig</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;host,
313 long&nbsp;port)</PRE>
314 <DL>
315 <DD>Configure the host and port for a site in replication group.
316 <P>
317 <DL>
318 <DT><B>Parameters:</B><DD><CODE>host</CODE> - <DD><CODE>port</CODE> - </DL>
319 </DL>
320
321 <!-- ============ METHOD DETAIL ========== -->
322
323 <A NAME="method_detail"><!-- --></A>
324 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
325 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
326 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
327 <B>Method Detail</B></FONT></TH>
328 </TR>
329 </TABLE>
330
331 <A NAME="setAddress(com.sleepycat.db.ReplicationHostAddress)"><!-- --></A><H3>
332 setAddress</H3>
333 <PRE>
334 public void <B>setAddress</B>(<A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A>&nbsp;address)</PRE>
335 <DL>
336 <DD>Configure the address for a site in replication group.
337 <p>
338 <P>
339 <DD><DL>
340 </DL>
341 </DD>
342 <DD><DL>
343 <DT><B>Parameters:</B><DD><CODE>address</CODE> - </DL>
344 </DD>
345 </DL>
346 <HR>
347
348 <A NAME="getAddress()"><!-- --></A><H3>
349 getAddress</H3>
350 <PRE>
351 public <A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A> <B>getAddress</B>()</PRE>
352 <DL>
353 <DD>Return the address of the site.
354 <p>
355 <P>
356 <DD><DL>
357 </DL>
358 </DD>
359 <DD><DL>
360
361 <DT><B>Returns:</B><DD>the address of the site.</DL>
362 </DD>
363 </DL>
364 <HR>
365
366 <A NAME="setHost(java.lang.String)"><!-- --></A><H3>
367 setHost</H3>
368 <PRE>
369 public void <B>setHost</B>(<A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A>&nbsp;host)</PRE>
370 <DL>
371 <DD>Configure the host of the site.
372 <p>
373 <P>
374 <DD><DL>
375 </DL>
376 </DD>
377 <DD><DL>
378 <DT><B>Parameters:</B><DD><CODE>host</CODE> - </DL>
379 </DD>
380 </DL>
381 <HR>
382
383 <A NAME="getHost()"><!-- --></A><H3>
384 getHost</H3>
385 <PRE>
386 public <A HREF="http://download.oracle.com/javase/1.5.0/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> <B>getHost</B>()</PRE>
387 <DL>
388 <DD>Return the host of the site.
389 <p>
390 <P>
391 <DD><DL>
392 </DL>
393 </DD>
394 <DD><DL>
395
396 <DT><B>Returns:</B><DD>the host of the site.</DL>
397 </DD>
398 </DL>
399 <HR>
400
401 <A NAME="setPort(long)"><!-- --></A><H3>
402 setPort</H3>
403 <PRE>
404 public void <B>setPort</B>(long&nbsp;port)</PRE>
405 <DL>
406 <DD>Configure the port of the site.
407 <p>
408 <P>
409 <DD><DL>
410 </DL>
411 </DD>
412 <DD><DL>
413 <DT><B>Parameters:</B><DD><CODE>port</CODE> - </DL>
414 </DD>
415 </DL>
416 <HR>
417
418 <A NAME="getPort()"><!-- --></A><H3>
419 getPort</H3>
420 <PRE>
421 public long <B>getPort</B>()</PRE>
422 <DL>
423 <DD>Return the port of the site.
424 <p>
425 <P>
426 <DD><DL>
427 </DL>
428 </DD>
429 <DD><DL>
430
431 <DT><B>Returns:</B><DD>the port of the site.</DL>
432 </DD>
433 </DL>
434 <HR>
435
436 <A NAME="setBootstrapHelper(boolean)"><!-- --></A><H3>
437 setBootstrapHelper</H3>
438 <PRE>
439 public void <B>setBootstrapHelper</B>(boolean&nbsp;helper)</PRE>
440 <DL>
441 <DD>Set the site to be a helper site.
442 <p>
443 A remote site may be used as a helper when the local site first joins the
444 replication group. Once the local site has been established as a member of
445 the group, this config setting is ignored.
446 <p>
447 <P>
448 <DD><DL>
449 </DL>
450 </DD>
451 <DD><DL>
452 <DT><B>Parameters:</B><DD><CODE>helper</CODE> - If true, the site will be a helper.</DL>
453 </DD>
454 </DL>
455 <HR>
456
457 <A NAME="getBootstrapHelper()"><!-- --></A><H3>
458 getBootstrapHelper</H3>
459 <PRE>
460 public boolean <B>getBootstrapHelper</B>()</PRE>
461 <DL>
462 <DD>Return if the site is a helper for the local site.
463 <p>
464 <P>
465 <DD><DL>
466 </DL>
467 </DD>
468 <DD><DL>
469
470 <DT><B>Returns:</B><DD>If the site is a helper for the local site.</DL>
471 </DD>
472 </DL>
473 <HR>
474
475 <A NAME="setGroupCreator(boolean)"><!-- --></A><H3>
476 setGroupCreator</H3>
477 <PRE>
478 public void <B>setGroupCreator</B>(boolean&nbsp;groupCreator)</PRE>
479 <DL>
480 <DD>Set the site to be a group creator.
481 <p>
482 Only the local site could be applied as a group creator. The group creator
483 would create the initial membership database, defining a replication group
484 of just the one site, rather than trying to join an existing group when it
485 starts for the first time.
486 <p>
487 <P>
488 <DD><DL>
489 </DL>
490 </DD>
491 <DD><DL>
492 <DT><B>Parameters:</B><DD><CODE>groupCreator</CODE> - If true, set the site a group creator.</DL>
493 </DD>
494 </DL>
495 <HR>
496
497 <A NAME="getGroupCreator()"><!-- --></A><H3>
498 getGroupCreator</H3>
499 <PRE>
500 public boolean <B>getGroupCreator</B>()</PRE>
501 <DL>
502 <DD>Return if the site is a group creator.
503 <p>
504 <P>
505 <DD><DL>
506 </DL>
507 </DD>
508 <DD><DL>
509
510 <DT><B>Returns:</B><DD>If the the site is a group creator.</DL>
511 </DD>
512 </DL>
513 <HR>
514
515 <A NAME="setLegacy(boolean)"><!-- --></A><H3>
516 setLegacy</H3>
517 <PRE>
518 public void <B>setLegacy</B>(boolean&nbsp;legacy)</PRE>
519 <DL>
520 <DD>Specify the site in a legacy group. It would be considered as part of an
521 existing group, upgrading from a previous version of BDB. All sites in the
522 legacy group must specify this for themselves (the local site) and for all
523 other sites initially in the group.
524 <p>
525 <P>
526 <DD><DL>
527 </DL>
528 </DD>
529 <DD><DL>
530 <DT><B>Parameters:</B><DD><CODE>legacy</CODE> - If true, specify the site in a legacy group.</DL>
531 </DD>
532 </DL>
533 <HR>
534
535 <A NAME="getLegacy()"><!-- --></A><H3>
536 getLegacy</H3>
537 <PRE>
538 public boolean <B>getLegacy</B>()</PRE>
539 <DL>
540 <DD>Return if the site is in a legacy group.
541 <p>
542 <P>
543 <DD><DL>
544 </DL>
545 </DD>
546 <DD><DL>
547
548 <DT><B>Returns:</B><DD>If the site is in a legacy group.</DL>
549 </DD>
550 </DL>
551 <HR>
552
553 <A NAME="setLocalSite(boolean)"><!-- --></A><H3>
554 setLocalSite</H3>
555 <PRE>
556 public void <B>setLocalSite</B>(boolean&nbsp;localSite)</PRE>
557 <DL>
558 <DD>Set the site to be the local site.
559 <p>
560 <P>
561 <DD><DL>
562 </DL>
563 </DD>
564 <DD><DL>
565 <DT><B>Parameters:</B><DD><CODE>localSite</CODE> - If true, it is local site.</DL>
566 </DD>
567 </DL>
568 <HR>
569
570 <A NAME="getLocalSite()"><!-- --></A><H3>
571 getLocalSite</H3>
572 <PRE>
573 public boolean <B>getLocalSite</B>()</PRE>
574 <DL>
575 <DD>Return if the site is the local site.
576 <p>
577 <P>
578 <DD><DL>
579 </DL>
580 </DD>
581 <DD><DL>
582
583 <DT><B>Returns:</B><DD>If the site is the local site.</DL>
584 </DD>
585 </DL>
586 <HR>
587
588 <A NAME="setPeer(boolean)"><!-- --></A><H3>
589 setPeer</H3>
590 <PRE>
591 public void <B>setPeer</B>(boolean&nbsp;peer)</PRE>
592 <DL>
593 <DD>Set the site to be peer to local site.
594 <p>
595 A peer site may be used as a target for "client-to-client" synchronization
596 messages. It only makes sense to specify this for a remote site.
597 <P>
598 <DD><DL>
599 </DL>
600 </DD>
601 <DD><DL>
602 <DT><B>Parameters:</B><DD><CODE>peer</CODE> - If true, it is peer to loca site.</DL>
603 </DD>
604 </DL>
605 <HR>
606
607 <A NAME="getPeer()"><!-- --></A><H3>
608 getPeer</H3>
609 <PRE>
610 public boolean <B>getPeer</B>()</PRE>
611 <DL>
612 <DD>Return if the site is peer.
613 <p>
614 <P>
615 <DD><DL>
616 </DL>
617 </DD>
618 <DD><DL>
619
620 <DT><B>Returns:</B><DD>If the site is peer.</DL>
621 </DD>
622 </DL>
623 <!-- ========= END OF CLASS DATA ========= -->
624 <HR>
625
626
627 <!-- ======= START OF BOTTOM NAVBAR ====== -->
628 <A NAME="navbar_bottom"><!-- --></A>
629 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
630 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
631 <TR>
632 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
633 <A NAME="navbar_bottom_firstrow"><!-- --></A>
634 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
635 <TR ALIGN="center" VALIGN="top">
636 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
637 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
638 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
639 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationManagerSiteConfig.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
640 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
641 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
642 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
643 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
644 </TR>
645 </TABLE>
646 </TD>
647 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
648 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
649 </TD>
650 </TR>
651
652 <TR>
653 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
654 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
655 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteInfo.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
656 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
657 <A HREF="../../../index.html?com/sleepycat/db/ReplicationManagerSiteConfig.html" target="_top"><B>FRAMES</B></A> &nbsp;
658 &nbsp;<A HREF="ReplicationManagerSiteConfig.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
659 &nbsp;<SCRIPT type="text/javascript">
660 <!--
661 if(window==top) {
662 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
663 }
664 //-->
665 </SCRIPT>
666 <NOSCRIPT>
667 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
668 </NOSCRIPT>
669
670
671 </FONT></TD>
672 </TR>
673 <TR>
674 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
675 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
676 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
677 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
678 </TR>
679 </TABLE>
680 <A NAME="skip-navbar_bottom"></A>
681 <!-- ======== END OF BOTTOM NAVBAR ======= -->
682
683 <HR>
684 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
685 </BODY>
686 </HTML>