Sophie

Sophie

distrib > PLD > th > x86_64 > by-pkgid > 636b2a8b77acacd6717dd7e72eda4c1d > files > 431

db6.1-java-devel-6.1.29.0-1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_75) on Fri May 13 13:32:16 PDT 2016 -->
<title>ReplicationManagerSiteConfig (Oracle - Berkeley DB Java API)</title>
<meta name="date" content="2016-05-13">
<link rel="stylesheet" type="text/css" href="../../../style.css" title="Style">
</head>
<body>
<script type="text/javascript"><!--
    if (location.href.indexOf('is-external=true') == -1) {
        parent.document.title="ReplicationManagerSiteConfig (Oracle - Berkeley DB Java API)";
    }
//-->
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<!-- ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a name="navbar_top">
<!--   -->
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ReplicationManagerSiteConfig.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.29</font></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/sleepycat/db/ReplicationManagerSite.html" title="class in com.sleepycat.db"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/sleepycat/db/ReplicationManagerSiteInfo.html" title="class in com.sleepycat.db"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/sleepycat/db/ReplicationManagerSiteConfig.html" target="_top">Frames</a></li>
<li><a href="ReplicationManagerSiteConfig.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_top">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_top");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_top">
<!--   -->
</a></div>
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
<div class="header">
<div class="subTitle">com.sleepycat.db</div>
<h2 title="Class ReplicationManagerSiteConfig" class="title">Class ReplicationManagerSiteConfig</h2>
</div>
<div class="contentContainer">
<ul class="inheritance">
<li>java.lang.Object</li>
<li>
<ul class="inheritance">
<li>com.sleepycat.db.ReplicationManagerSiteConfig</li>
</ul>
</li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Implemented Interfaces:</dt>
<dd>java.lang.Cloneable</dd>
</dl>
<hr>
<br>
<pre>public class <span class="strong">ReplicationManagerSiteConfig</span>
extends java.lang.Object
implements java.lang.Cloneable</pre>
<div class="block">Specifies the attributes of a site in the replication group.</div>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_summary">
<!--   -->
</a>
<h3>Constructor Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
<caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#ReplicationManagerSiteConfig()">ReplicationManagerSiteConfig</a></strong>()</code>
<div class="block">An instance created using the default constructor is initialized
    with the system's default settings.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#ReplicationManagerSiteConfig(java.lang.String,%20long)">ReplicationManagerSiteConfig</a></strong>(java.lang.String&nbsp;host,
                            long&nbsp;port)</code>
<div class="block">Configure the host and port for a site in replication group.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</a></code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getAddress()">getAddress</a></strong>()</code>
<div class="block">Return the address of the site.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getBootstrapHelper()">getBootstrapHelper</a></strong>()</code>
<div class="block">Return if the site is a helper for the local site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getGroupCreator()">getGroupCreator</a></strong>()</code>
<div class="block">Return if the site is a group creator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getHost()">getHost</a></strong>()</code>
<div class="block">Return the host of the site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getLegacy()">getLegacy</a></strong>()</code>
<div class="block">Return if the site is in a legacy group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getLocalSite()">getLocalSite</a></strong>()</code>
<div class="block">Return if the site is the local site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getPeer()">getPeer</a></strong>()</code>
<div class="block">Return if the site is peer.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>long</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#getPort()">getPort</a></strong>()</code>
<div class="block">Return the port of the site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setAddress(com.sleepycat.db.ReplicationHostAddress)">setAddress</a></strong>(<a href="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</a>&nbsp;address)</code>
<div class="block">Configure the address for a site in replication group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setBootstrapHelper(boolean)">setBootstrapHelper</a></strong>(boolean&nbsp;helper)</code>
<div class="block">Set the site to be a helper site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setGroupCreator(boolean)">setGroupCreator</a></strong>(boolean&nbsp;groupCreator)</code>
<div class="block">Set the site to be a group creator.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setHost(java.lang.String)">setHost</a></strong>(java.lang.String&nbsp;host)</code>
<div class="block">Configure the host of the site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setLegacy(boolean)">setLegacy</a></strong>(boolean&nbsp;legacy)</code>
<div class="block">Specify the site in a legacy group.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setLocalSite(boolean)">setLocalSite</a></strong>(boolean&nbsp;localSite)</code>
<div class="block">Set the site to be the local site.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setPeer(boolean)">setPeer</a></strong>(boolean&nbsp;peer)</code>
<div class="block">Set the site to be peer to local site.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../com/sleepycat/db/ReplicationManagerSiteConfig.html#setPort(long)">setPort</a></strong>(long&nbsp;port)</code>
<div class="block">Configure the port of the site.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!--   -->
</a>
<h3>Methods inherited from class&nbsp;java.lang.Object</h3>
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!--   -->
</a>
<h3>Constructor Detail</h3>
<a name="ReplicationManagerSiteConfig()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>ReplicationManagerSiteConfig</h4>
<pre>public&nbsp;ReplicationManagerSiteConfig()</pre>
<div class="block">An instance created using the default constructor is initialized
    with the system's default settings.</div>
</li>
</ul>
<a name="ReplicationManagerSiteConfig(java.lang.String, long)">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>ReplicationManagerSiteConfig</h4>
<pre>public&nbsp;ReplicationManagerSiteConfig(java.lang.String&nbsp;host,
                            long&nbsp;port)</pre>
<div class="block">Configure the host and port for a site in replication group.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>host</code> - </dd><dd><code>port</code> - </dd></dl>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!--   -->
</a>
<h3>Method Detail</h3>
<a name="setAddress(com.sleepycat.db.ReplicationHostAddress)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setAddress</h4>
<pre>public&nbsp;void&nbsp;setAddress(<a href="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</a>&nbsp;address)</pre>
<div class="block">Configure the address for a site in replication group.
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>address</code> - </dd></dl>
</li>
</ul>
<a name="getAddress()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getAddress</h4>
<pre>public&nbsp;<a href="../../../com/sleepycat/db/ReplicationHostAddress.html" title="class in com.sleepycat.db">ReplicationHostAddress</a>&nbsp;getAddress()</pre>
<div class="block">Return the address of the site.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the address of the site.</dd></dl>
</li>
</ul>
<a name="setHost(java.lang.String)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setHost</h4>
<pre>public&nbsp;void&nbsp;setHost(java.lang.String&nbsp;host)</pre>
<div class="block">Configure the host of the site.
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>host</code> - </dd></dl>
</li>
</ul>
<a name="getHost()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getHost</h4>
<pre>public&nbsp;java.lang.String&nbsp;getHost()</pre>
<div class="block">Return the host of the site.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the host of the site.</dd></dl>
</li>
</ul>
<a name="setPort(long)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPort</h4>
<pre>public&nbsp;void&nbsp;setPort(long&nbsp;port)</pre>
<div class="block">Configure the port of the site.
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>port</code> - </dd></dl>
</li>
</ul>
<a name="getPort()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPort</h4>
<pre>public&nbsp;long&nbsp;getPort()</pre>
<div class="block">Return the port of the site.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>the port of the site.</dd></dl>
</li>
</ul>
<a name="setBootstrapHelper(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setBootstrapHelper</h4>
<pre>public&nbsp;void&nbsp;setBootstrapHelper(boolean&nbsp;helper)</pre>
<div class="block">Set the site to be a helper site.
    <p>
    A remote site may be used as a helper when the local site first joins the
    replication group. Once the local site has been established as a member of
    the group, this config setting is ignored. 
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>helper</code> - If true, the site will be a helper.</dd></dl>
</li>
</ul>
<a name="getBootstrapHelper()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getBootstrapHelper</h4>
<pre>public&nbsp;boolean&nbsp;getBootstrapHelper()</pre>
<div class="block">Return if the site is a helper for the local site.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>If the site is a helper for the local site.</dd></dl>
</li>
</ul>
<a name="setGroupCreator(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setGroupCreator</h4>
<pre>public&nbsp;void&nbsp;setGroupCreator(boolean&nbsp;groupCreator)</pre>
<div class="block">Set the site to be a group creator.
    <p>
    Only the local site could be applied as a group creator. The group creator
    would create the initial membership database, defining a replication group
    of just the one site, rather than trying to join an existing group when it 
    starts for the first time.
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>groupCreator</code> - If true, set the site a group creator.</dd></dl>
</li>
</ul>
<a name="getGroupCreator()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getGroupCreator</h4>
<pre>public&nbsp;boolean&nbsp;getGroupCreator()</pre>
<div class="block">Return if the site is a group creator.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>If the the site is a group creator.</dd></dl>
</li>
</ul>
<a name="setLegacy(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLegacy</h4>
<pre>public&nbsp;void&nbsp;setLegacy(boolean&nbsp;legacy)</pre>
<div class="block">Specify the site in a legacy group. It would be considered as part of an
    existing group, upgrading from a previous version of BDB. All sites in the
    legacy group must specify this for themselves (the local site) and for all
    other sites initially in the group. 
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>legacy</code> - If true, specify the site in a legacy group.</dd></dl>
</li>
</ul>
<a name="getLegacy()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLegacy</h4>
<pre>public&nbsp;boolean&nbsp;getLegacy()</pre>
<div class="block">Return if the site is in a legacy group.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>If the site is in a legacy group.</dd></dl>
</li>
</ul>
<a name="setLocalSite(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setLocalSite</h4>
<pre>public&nbsp;void&nbsp;setLocalSite(boolean&nbsp;localSite)</pre>
<div class="block">Set the site to be the local site.
    <p></div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>localSite</code> - If true, it is local site.</dd></dl>
</li>
</ul>
<a name="getLocalSite()">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLocalSite</h4>
<pre>public&nbsp;boolean&nbsp;getLocalSite()</pre>
<div class="block">Return if the site is the local site.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>If the site is the local site.</dd></dl>
</li>
</ul>
<a name="setPeer(boolean)">
<!--   -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPeer</h4>
<pre>public&nbsp;void&nbsp;setPeer(boolean&nbsp;peer)</pre>
<div class="block">Set the site to be peer to local site. 
    <p>
    A peer site may be used as a target for "client-to-client" synchronization
    messages. It only makes sense to specify this for a remote site.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>peer</code> - If true, it is peer to loca site.</dd></dl>
</li>
</ul>
<a name="getPeer()">
<!--   -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>getPeer</h4>
<pre>public&nbsp;boolean&nbsp;getPeer()</pre>
<div class="block">Return if the site is peer.
    <p></div>
<dl><dt><span class="strong">Returns:</span></dt><dd>If the site is peer.</dd></dl>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</div>
</div>
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a name="navbar_bottom">
<!--   -->
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
<!--   -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/ReplicationManagerSiteConfig.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../index-all.html">Index</a></li>
<li><a href="../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><em><b>Berkeley DB</b><br><font size="-1"> version 6.1.29</font></em></div>
</div>
<div class="subNav">
<ul class="navList">
<li><a href="../../../com/sleepycat/db/ReplicationManagerSite.html" title="class in com.sleepycat.db"><span class="strong">Prev Class</span></a></li>
<li><a href="../../../com/sleepycat/db/ReplicationManagerSiteInfo.html" title="class in com.sleepycat.db"><span class="strong">Next Class</span></a></li>
</ul>
<ul class="navList">
<li><a href="../../../index.html?com/sleepycat/db/ReplicationManagerSiteConfig.html" target="_top">Frames</a></li>
<li><a href="ReplicationManagerSiteConfig.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="allclasses_navbar_bottom">
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!--
  allClassesLink = document.getElementById("allclasses_navbar_bottom");
  if(window==top) {
    allClassesLink.style.display = "block";
  }
  else {
    allClassesLink.style.display = "none";
  }
  //-->
</script>
</div>
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li>Field&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!--   -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
<p class="legalCopy"><small><font size=1>Copyright (c) 1996, 2016 Oracle and/or its affiliates.  All rights reserved.</font></small></p>
</body>
</html>