Debian Codegraph @

docs/java/com/sleepycat/db/ReplicationManagerSite.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 ReplicationManagerSite (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="ReplicationManagerSite (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/ReplicationManagerSite.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/ReplicationManagerMessageDispatch.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
59 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.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/ReplicationManagerSite.html" target="_top"><B>FRAMES</B></A> &nbsp;
62 &nbsp;<A HREF="ReplicationManagerSite.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;CONSTR&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;CONSTR&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 ReplicationManagerSite</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.ReplicationManagerSite</B>
97 </PRE>
98 <HR>
99 <DL>
100 <DT><PRE>public class <B>ReplicationManagerSite</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></DL>
101 </PRE>
102
103 <P>
104 A ReplicationManagerSite handle is used to manage a site in a replication group.
105 ReplicationManagerSite handles are opened using the <A HREF="../../../com/sleepycat/db/Environment.html#getReplicationManagerSite(int)"><CODE>Environment.getReplicationManagerSite</CODE></A> method.
106 <P>
107
108 <P>
109 <HR>
110
111 <P>
112
113 <!-- ========== METHOD SUMMARY =========== -->
114
115 <A NAME="method_summary"><!-- --></A>
116 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
117 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
118 <TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
119 <B>Method Summary</B></FONT></TH>
120 </TR>
121 <TR BGCOLOR="white" CLASS="TableRowColor">
122 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
123 <CODE>&nbsp;void</CODE></FONT></TD>
124 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#close()">close</A></B>()</CODE>
125
126 <BR>
127 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Close the site.</TD>
128 </TR>
129 <TR BGCOLOR="white" CLASS="TableRowColor">
130 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
131 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A></CODE></FONT></TD>
132 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getAddress()">getAddress</A></B>()</CODE>
133
134 <BR>
135 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the address of the site.</TD>
136 </TR>
137 <TR BGCOLOR="white" CLASS="TableRowColor">
138 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
139 <CODE>&nbsp;boolean</CODE></FONT></TD>
140 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getBootstrapHelper()">getBootstrapHelper</A></B>()</CODE>
141
142 <BR>
143 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is a helper for the local site.</TD>
144 </TR>
145 <TR BGCOLOR="white" CLASS="TableRowColor">
146 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
147 <CODE>&nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db">ReplicationManagerSiteConfig</A></CODE></FONT></TD>
148 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getConfig()">getConfig</A></B>()</CODE>
149
150 <BR>
151 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the address and configuration of the site.</TD>
152 </TR>
153 <TR BGCOLOR="white" CLASS="TableRowColor">
154 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
155 <CODE>&nbsp;int</CODE></FONT></TD>
156 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getEid()">getEid</A></B>()</CODE>
157
158 <BR>
159 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Get the environment id of the site.</TD>
160 </TR>
161 <TR BGCOLOR="white" CLASS="TableRowColor">
162 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
163 <CODE>&nbsp;boolean</CODE></FONT></TD>
164 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getGroupCreator()">getGroupCreator</A></B>()</CODE>
165
166 <BR>
167 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is a group creator.</TD>
168 </TR>
169 <TR BGCOLOR="white" CLASS="TableRowColor">
170 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
171 <CODE>&nbsp;boolean</CODE></FONT></TD>
172 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getLegacy()">getLegacy</A></B>()</CODE>
173
174 <BR>
175 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is in a legacy group.</TD>
176 </TR>
177 <TR BGCOLOR="white" CLASS="TableRowColor">
178 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
179 <CODE>&nbsp;boolean</CODE></FONT></TD>
180 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getLocalSite()">getLocalSite</A></B>()</CODE>
181
182 <BR>
183 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is the local site.</TD>
184 </TR>
185 <TR BGCOLOR="white" CLASS="TableRowColor">
186 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
187 <CODE>&nbsp;boolean</CODE></FONT></TD>
188 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#getPeer()">getPeer</A></B>()</CODE>
189
190 <BR>
191 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Return if the site is peer to local site.</TD>
192 </TR>
193 <TR BGCOLOR="white" CLASS="TableRowColor">
194 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
195 <CODE>&nbsp;void</CODE></FONT></TD>
196 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#remove()">remove</A></B>()</CODE>
197
198 <BR>
199 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Remove the site.</TD>
200 </TR>
201 <TR BGCOLOR="white" CLASS="TableRowColor">
202 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
203 <CODE>&nbsp;void</CODE></FONT></TD>
204 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#setBootstrapHelper(boolean)">setBootstrapHelper</A></B>(boolean&nbsp;helper)</CODE>
205
206 <BR>
207 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be a helper site.</TD>
208 </TR>
209 <TR BGCOLOR="white" CLASS="TableRowColor">
210 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
211 <CODE>&nbsp;void</CODE></FONT></TD>
212 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#setGroupCreator(boolean)">setGroupCreator</A></B>(boolean&nbsp;groupCreator)</CODE>
213
214 <BR>
215 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be a group creator.</TD>
216 </TR>
217 <TR BGCOLOR="white" CLASS="TableRowColor">
218 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
219 <CODE>&nbsp;void</CODE></FONT></TD>
220 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#setLegacy(boolean)">setLegacy</A></B>(boolean&nbsp;legacy)</CODE>
221
222 <BR>
223 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Specify the site in a legacy group.</TD>
224 </TR>
225 <TR BGCOLOR="white" CLASS="TableRowColor">
226 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
227 <CODE>&nbsp;void</CODE></FONT></TD>
228 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#setLocalSite(boolean)">setLocalSite</A></B>(boolean&nbsp;localSite)</CODE>
229
230 <BR>
231 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be the local site.</TD>
232 </TR>
233 <TR BGCOLOR="white" CLASS="TableRowColor">
234 <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
235 <CODE>&nbsp;void</CODE></FONT></TD>
236 <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationManagerSite.html#setPeer(boolean)">setPeer</A></B>(boolean&nbsp;peer)</CODE>
237
238 <BR>
239 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the site to be peer to local site.</TD>
240 </TR>
241 </TABLE>
242 &nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A>
243 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
244 <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
245 <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>
246 </TR>
247 <TR BGCOLOR="white" CLASS="TableRowColor">
248 <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>
249 </TR>
250 </TABLE>
251 &nbsp;
252 <P>
253
254 <!-- ============ METHOD DETAIL ========== -->
255
256 <A NAME="method_detail"><!-- --></A>
257 <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
258 <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
259 <TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
260 <B>Method Detail</B></FONT></TH>
261 </TR>
262 </TABLE>
263
264 <A NAME="close()"><!-- --></A><H3>
265 close</H3>
266 <PRE>
267 public void <B>close</B>()
268 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
269 <DL>
270 <DD>Close the site.
271 <P>
272 <DD><DL>
273
274 <DT><B>Throws:</B>
275 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
276 </DD>
277 </DL>
278 <HR>
279
280 <A NAME="getAddress()"><!-- --></A><H3>
281 getAddress</H3>
282 <PRE>
283 public <A HREF="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</A> <B>getAddress</B>()
284 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
285 <DL>
286 <DD>Get the address of the site.
287 <p>
288 <P>
289 <DD><DL>
290
291 <DT><B>Returns:</B><DD>the address of the site.
292 <DT><B>Throws:</B>
293 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
294 </DD>
295 </DL>
296 <HR>
297
298 <A NAME="getConfig()"><!-- --></A><H3>
299 getConfig</H3>
300 <PRE>
301 public <A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db">ReplicationManagerSiteConfig</A> <B>getConfig</B>()
302 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
303 <DL>
304 <DD>Get the address and configuration of the site.
305 <p>
306 <P>
307 <DD><DL>
308
309 <DT><B>Returns:</B><DD>the configuration of the site.
310 <DT><B>Throws:</B>
311 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
312 </DD>
313 </DL>
314 <HR>
315
316 <A NAME="getEid()"><!-- --></A><H3>
317 getEid</H3>
318 <PRE>
319 public int <B>getEid</B>()
320 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
321 <DL>
322 <DD>Get the environment id of the site.
323 <p>
324 <P>
325 <DD><DL>
326
327 <DT><B>Returns:</B><DD>the environment id of the site.
328 <DT><B>Throws:</B>
329 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
330 </DD>
331 </DL>
332 <HR>
333
334 <A NAME="setBootstrapHelper(boolean)"><!-- --></A><H3>
335 setBootstrapHelper</H3>
336 <PRE>
337 public void <B>setBootstrapHelper</B>(boolean&nbsp;helper)
338 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
339 <DL>
340 <DD>Set the site to be a helper site.
341 <p>
342 A remote site may be used as a helper when the local site first joins the
343 replication group. Once the local site has been established as a member of
344 the group, this config setting is ignored.
345 <p>
346 <P>
347 <DD><DL>
348 <DT><B>Parameters:</B><DD><CODE>helper</CODE> - If true, the site will be a helper.
349 <DT><B>Throws:</B>
350 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
351 </DD>
352 </DL>
353 <HR>
354
355 <A NAME="getBootstrapHelper()"><!-- --></A><H3>
356 getBootstrapHelper</H3>
357 <PRE>
358 public boolean <B>getBootstrapHelper</B>()
359 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
360 <DL>
361 <DD>Return if the site is a helper for the local site.
362 <p>
363 <P>
364 <DD><DL>
365
366 <DT><B>Returns:</B><DD>If the site is a helper for the local site.
367 <DT><B>Throws:</B>
368 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
369 </DD>
370 </DL>
371 <HR>
372
373 <A NAME="setGroupCreator(boolean)"><!-- --></A><H3>
374 setGroupCreator</H3>
375 <PRE>
376 public void <B>setGroupCreator</B>(boolean&nbsp;groupCreator)
377 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
378 <DL>
379 <DD>Set the site to be a group creator.
380 <p>
381 Only the local site could be applied as a group creator. The group creator
382 would create the initial membership database, defining a replication group
383 of just the one site, rather than trying to join an existing group when it
384 starts for the first time.
385 <p>
386 <P>
387 <DD><DL>
388 <DT><B>Parameters:</B><DD><CODE>groupCreator</CODE> - If true, set the site to be a group creator.
389 <DT><B>Throws:</B>
390 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
391 </DD>
392 </DL>
393 <HR>
394
395 <A NAME="getGroupCreator()"><!-- --></A><H3>
396 getGroupCreator</H3>
397 <PRE>
398 public boolean <B>getGroupCreator</B>()
399 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
400 <DL>
401 <DD>Return if the site is a group creator.
402 <p>
403 <P>
404 <DD><DL>
405
406 <DT><B>Returns:</B><DD>If the the site is a group creator.
407 <DT><B>Throws:</B>
408 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
409 </DD>
410 </DL>
411 <HR>
412
413 <A NAME="setLegacy(boolean)"><!-- --></A><H3>
414 setLegacy</H3>
415 <PRE>
416 public void <B>setLegacy</B>(boolean&nbsp;legacy)
417 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
418 <DL>
419 <DD>Specify the site in a legacy group. It would be considered as part of an
420 existing group, upgrading from a previous version of BDB. All sites in the
421 legacy group must specify this for themselves (the local site) and for all
422 other sites initially in the group.
423 <p>
424 <P>
425 <DD><DL>
426 <DT><B>Parameters:</B><DD><CODE>legacy</CODE> - If true, specify the site in a legacy group.
427 <DT><B>Throws:</B>
428 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
429 </DD>
430 </DL>
431 <HR>
432
433 <A NAME="getLegacy()"><!-- --></A><H3>
434 getLegacy</H3>
435 <PRE>
436 public boolean <B>getLegacy</B>()
437 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
438 <DL>
439 <DD>Return if the site is in a legacy group.
440 <p>
441 <P>
442 <DD><DL>
443
444 <DT><B>Returns:</B><DD>If the site is in a legacy group.
445 <DT><B>Throws:</B>
446 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
447 </DD>
448 </DL>
449 <HR>
450
451 <A NAME="setLocalSite(boolean)"><!-- --></A><H3>
452 setLocalSite</H3>
453 <PRE>
454 public void <B>setLocalSite</B>(boolean&nbsp;localSite)
455 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
456 <DL>
457 <DD>Set the site to be the local site.
458 <p>
459 <P>
460 <DD><DL>
461 <DT><B>Parameters:</B><DD><CODE>localSite</CODE> - If true, it is local site.
462 <DT><B>Throws:</B>
463 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
464 </DD>
465 </DL>
466 <HR>
467
468 <A NAME="getLocalSite()"><!-- --></A><H3>
469 getLocalSite</H3>
470 <PRE>
471 public boolean <B>getLocalSite</B>()
472 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
473 <DL>
474 <DD>Return if the site is the local site.
475 <p>
476 <P>
477 <DD><DL>
478
479 <DT><B>Returns:</B><DD>If the site is the local site.
480 <DT><B>Throws:</B>
481 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
482 </DD>
483 </DL>
484 <HR>
485
486 <A NAME="setPeer(boolean)"><!-- --></A><H3>
487 setPeer</H3>
488 <PRE>
489 public void <B>setPeer</B>(boolean&nbsp;peer)
490 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
491 <DL>
492 <DD>Set the site to be peer to local site.
493 <p>
494 A peer site may be used as a target for "client-to-client" synchronization
495 messages. It only makes sense to specify this for a remote site.
496 <P>
497 <DD><DL>
498 <DT><B>Parameters:</B><DD><CODE>peer</CODE> - If true, it is peer to loca site.
499 <DT><B>Throws:</B>
500 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
501 </DD>
502 </DL>
503 <HR>
504
505 <A NAME="getPeer()"><!-- --></A><H3>
506 getPeer</H3>
507 <PRE>
508 public boolean <B>getPeer</B>()
509 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
510 <DL>
511 <DD>Return if the site is peer to local site.
512 <p>
513 <P>
514 <DD><DL>
515
516 <DT><B>Returns:</B><DD>If the site is peer to local site.
517 <DT><B>Throws:</B>
518 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
519 </DD>
520 </DL>
521 <HR>
522
523 <A NAME="remove()"><!-- --></A><H3>
524 remove</H3>
525 <PRE>
526 public void <B>remove</B>()
527 throws <A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></PRE>
528 <DL>
529 <DD>Remove the site.
530 <P>
531 <DD><DL>
532
533 <DT><B>Throws:</B>
534 <DD><CODE><A HREF="../../../com/sleepycat/db/DatabaseException.html" title="class in com.sleepycat.db">DatabaseException</A></CODE></DL>
535 </DD>
536 </DL>
537 <!-- ========= END OF CLASS DATA ========= -->
538 <HR>
539
540
541 <!-- ======= START OF BOTTOM NAVBAR ====== -->
542 <A NAME="navbar_bottom"><!-- --></A>
543 <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
544 <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
545 <TR>
546 <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
547 <A NAME="navbar_bottom_firstrow"><!-- --></A>
548 <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
549 <TR ALIGN="center" VALIGN="top">
550 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>
551 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
552 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
553 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationManagerSite.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&nbsp;</TD>
554 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
555 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
556 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
557 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
558 </TR>
559 </TABLE>
560 </TD>
561 <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
562 <b>Berkeley DB</b><br><font size="-1"> version 5.3.28</font></EM>
563 </TD>
564 </TR>
565
566 <TR>
567 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
568 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerMessageDispatch.html" title="interface in com.sleepycat.db"><B>PREV CLASS</B></A>&nbsp;
569 &nbsp;<A HREF="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD>
570 <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
571 <A HREF="../../../index.html?com/sleepycat/db/ReplicationManagerSite.html" target="_top"><B>FRAMES</B></A> &nbsp;
572 &nbsp;<A HREF="ReplicationManagerSite.html" target="_top"><B>NO FRAMES</B></A> &nbsp;
573 &nbsp;<SCRIPT type="text/javascript">
574 <!--
575 if(window==top) {
576 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>');
577 }
578 //-->
579 </SCRIPT>
580 <NOSCRIPT>
581 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>
582 </NOSCRIPT>
583
584
585 </FONT></TD>
586 </TR>
587 <TR>
588 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
589 SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
590 <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
591 DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD>
592 </TR>
593 </TABLE>
594 <A NAME="skip-navbar_bottom"></A>
595 <!-- ======== END OF BOTTOM NAVBAR ======= -->
596
597 <HR>
598 <font size=1>Copyright (c) 1996, 2013 Oracle and/or its affiliates. All rights reserved.</font>
599 </BODY>
600 </HTML>