mirror of
https://github.com/yasuhirokimura/db18
synced 2026-06-08 18:29:23 +00:00
1787 lines
64 KiB
HTML
1787 lines
64 KiB
HTML
<!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 (11.0.7) on Mon Jun 01 06:40:53 PDT 2020 -->
|
|
<title>ReplicationStats (Oracle - Berkeley DB Java API)</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta name="date" content="2020-06-01">
|
|
<link rel="stylesheet" type="text/css" href="../../../style.css" title="Style">
|
|
<link rel="stylesheet" type="text/css" href="../../../jquery/jquery-ui.css" title="Style">
|
|
<script type="text/javascript" src="../../../script.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jszip/dist/jszip.min.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
|
|
<!--[if IE]>
|
|
<script type="text/javascript" src="../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
|
|
<![endif]-->
|
|
<script type="text/javascript" src="../../../jquery/jquery-3.4.1.js"></script>
|
|
<script type="text/javascript" src="../../../jquery/jquery-ui.js"></script>
|
|
</head>
|
|
<body>
|
|
<script type="text/javascript"><!--
|
|
try {
|
|
if (location.href.indexOf('is-external=true') == -1) {
|
|
parent.document.title="ReplicationStats (Oracle - Berkeley DB Java API)";
|
|
}
|
|
}
|
|
catch(err) {
|
|
}
|
|
//-->
|
|
var data = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":10,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":10,"i26":10,"i27":10,"i28":10,"i29":10,"i30":10,"i31":10,"i32":10,"i33":10,"i34":10,"i35":10,"i36":10,"i37":10,"i38":10,"i39":10,"i40":10,"i41":10,"i42":10,"i43":10,"i44":10,"i45":10,"i46":10,"i47":10,"i48":10,"i49":10,"i50":10,"i51":10,"i52":10,"i53":10,"i54":10,"i55":10,"i56":10,"i57":10,"i58":10,"i59":10,"i60":10,"i61":10,"i62":10,"i63":10,"i64":10,"i65":10,"i66":10};
|
|
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"]};
|
|
var altColor = "altColor";
|
|
var rowColor = "rowColor";
|
|
var tableTab = "tableTab";
|
|
var activeTableTab = "activeTableTab";
|
|
var pathtoroot = "../../../";
|
|
var useModuleDirectories = true;
|
|
loadScripts(document, 'script');</script>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
<div class="fixedNav">
|
|
<!-- ========= START OF TOP NAVBAR ======= -->
|
|
<div class="topNav"><a name="navbar.top">
|
|
<!-- -->
|
|
</a>
|
|
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.top.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/ReplicationStats.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"><b>Berkeley DB</b><br><font size="-1"> version 18.1.40</font></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_top">
|
|
<li><a href="../../../allclasses.html">All Classes</a></li>
|
|
</ul>
|
|
<ul class="navListSearch">
|
|
<li><label for="search">SEARCH:</label>
|
|
<input type="text" id="search" value="search" disabled="disabled">
|
|
<input type="reset" id="reset" value="reset" disabled="disabled">
|
|
</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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.detail">Method</a></li>
|
|
</ul>
|
|
</div>
|
|
<a name="skip.navbar.top">
|
|
<!-- -->
|
|
</a></div>
|
|
<!-- ========= END OF TOP NAVBAR ========= -->
|
|
</div>
|
|
<div class="navPadding"> </div>
|
|
<script type="text/javascript"><!--
|
|
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
|
|
//-->
|
|
</script>
|
|
<!-- ======== START OF CLASS DATA ======== -->
|
|
<div class="header">
|
|
<div class="subTitle"><span class="packageLabelInType">Package</span> <a href="package-summary.html">com.sleepycat.db</a></div>
|
|
<h2 title="Class ReplicationStats" class="title">Class ReplicationStats</h2>
|
|
</div>
|
|
<div class="contentContainer">
|
|
<ul class="inheritance">
|
|
<li>java.lang.Object</li>
|
|
<li>
|
|
<ul class="inheritance">
|
|
<li>com.sleepycat.db.ReplicationStats</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
<div class="description">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<hr>
|
|
<pre>public class <span class="typeNameLabel">ReplicationStats</span>
|
|
extends java.lang.Object</pre>
|
|
<div class="block">Replication statistics for a database environment.</div>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="summary">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- =========== FIELD SUMMARY =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.summary">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Summary</h3>
|
|
<table class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
|
|
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Field</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REP_CLIENT">REP_CLIENT</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">The environment is configured as a replication client, as reported by <a href="#getStatus--"><code>getStatus()</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="rowColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REP_MASTER">REP_MASTER</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">The environment is configured as a replication master, as reported by <a href="#getStatus--"><code>getStatus()</code></a>.</div>
|
|
</td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>static int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#REP_NONE">REP_NONE</a></span></code></th>
|
|
<td class="colLast">
|
|
<div class="block">Replication is not configured for this environment, as reported by <a href="#getStatus--"><code>getStatus()</code></a>.</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="memberSummary" summary="Method Summary table, listing methods, and an explanation">
|
|
<caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd"> </span></span></caption>
|
|
<tr>
|
|
<th class="colFirst" scope="col">Modifier and Type</th>
|
|
<th class="colSecond" scope="col">Method</th>
|
|
<th class="colLast" scope="col">Description</th>
|
|
</tr>
|
|
<tr id="i0" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBulkFills--">getBulkFills</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of times the bulk buffer filled up, forcing the buffer content to be sent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i1" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBulkOverflows--">getBulkOverflows</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of times a record was bigger than the entire bulk buffer,
|
|
and therefore had to be sent as a singleton.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i2" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBulkRecords--">getBulkRecords</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of records added to a bulk buffer.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i3" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getBulkTransfers--">getBulkTransfers</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of bulk buffers transferred (via a call to the
|
|
application's <a href="ReplicationTransport.html" title="interface in com.sleepycat.db"><code>ReplicationTransport</code></a> function).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i4" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClientRerequests--">getClientRerequests</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of times this client site received a "re-request" message,
|
|
indicating that a request it previously sent to another client could
|
|
not be serviced by that client.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i5" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClientSvcMiss--">getClientSvcMiss</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of "request" type messages received by this client that
|
|
could not be processed, forcing the originating requester to try sending
|
|
the request to the master (or another client).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i6" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getClientSvcReq--">getClientSvcReq</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of "request" type messages received by this client.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i7" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getDupmasters--">getDupmasters</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of duplicate master conditions originally detected at this site.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i8" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEgen--">getEgen</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The election generation number for the current or next election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i9" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionCurWinner--">getElectionCurWinner</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The environment ID of the winner of the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i10" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionDatagen--">getElectionDatagen</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The master data generation number of the winner of the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i11" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionGen--">getElectionGen</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The master generation number of the winner of the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i12" class="altColor">
|
|
<td class="colFirst"><code><a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionLsn--">getElectionLsn</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The maximum LSN of the winner of the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i13" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionNumSites--">getElectionNumSites</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of sites responding to this site during the current election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i14" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionNumVotes--">getElectionNumVotes</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of votes required in the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i15" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionPriority--">getElectionPriority</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The priority of the winner of the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i16" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElections--">getElections</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of elections held.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i17" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionSec--">getElectionSec</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of seconds the last election took (the total election time
|
|
is this value plus <a href="#getElectionUsec--"><code>getElectionUsec()</code></a>).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i18" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionStatus--">getElectionStatus</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The current election phase (0 if no election is in progress).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i19" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionsWon--">getElectionsWon</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of elections won.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i20" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionTiebreaker--">getElectionTiebreaker</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The tiebreaker value of the winner of the current or last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i21" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionUsec--">getElectionUsec</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of microseconds the last election took (the total election
|
|
time is this value plus <a href="#getElectionSec--"><code>getElectionSec()</code></a>).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i22" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getElectionVotes--">getElectionVotes</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of votes received during the current election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i23" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnvId--">getEnvId</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The current environment ID.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i24" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getEnvPriority--">getEnvPriority</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The current environment priority.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i25" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExtDuplicated--">getExtDuplicated</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of duplicate external file messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i26" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExtRecords--">getExtRecords</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of external file messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i27" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExtRereq--">getExtRereq</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of re-requested external file messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i28" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getExtUpdateRereq--">getExtUpdateRereq</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of re-requested external file update messages.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i29" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getGen--">getGen</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The current master generation number.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i30" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLeaseChk--">getLeaseChk</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of lease validity checks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i31" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLeaseChkMisses--">getLeaseChkMisses</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of invalid lease validity checks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i32" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLeaseChkRefresh--">getLeaseChkRefresh</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of lease refresh attempts during lease validity checks.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i33" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLeaseSends--">getLeaseSends</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of live messages sent while using leases.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i34" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogDuplicated--">getLogDuplicated</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of duplicate log records received.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i35" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogQueued--">getLogQueued</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of log records currently queued.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i36" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogQueuedMax--">getLogQueuedMax</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The maximum number of log records ever queued at once.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i37" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogQueuedTotal--">getLogQueuedTotal</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The total number of log records queued.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i38" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogRecords--">getLogRecords</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of log records received and appended to the log.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i39" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getLogRequested--">getLogRequested</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of times log records were missed and requested.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i40" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaster--">getMaster</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The current master environment ID.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i41" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMasterChanges--">getMasterChanges</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of times the master has changed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i42" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxLeaseSec--">getMaxLeaseSec</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of seconds of the longest lease (the total lease time is
|
|
this value plus <a href="#getMaxLeaseUsec--"><code>getMaxLeaseUsec()</code></a>).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i43" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxLeaseUsec--">getMaxLeaseUsec</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of microseconds of the longest lease (the total lease time
|
|
is this value plus <a href="#getMaxLeaseSec--"><code>getMaxLeaseSec()</code></a>).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i44" class="altColor">
|
|
<td class="colFirst"><code><a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMaxPermLsn--">getMaxPermLsn</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The LSN of the maximum permanent log record, or 0 if there are no permanent log records.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i45" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMsgsBadgen--">getMsgsBadgen</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of messages received with a bad generation number.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i46" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMsgsProcessed--">getMsgsProcessed</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of messages received and processed.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i47" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMsgsRecover--">getMsgsRecover</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of messages ignored due to pending recovery.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i48" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMsgsSendFailures--">getMsgsSendFailures</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of failed message sends.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i49" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getMsgsSent--">getMsgsSent</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of messages sent.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i50" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNewsites--">getNewsites</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of new site messages received.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i51" class="rowColor">
|
|
<td class="colFirst"><code><a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNextLsn--">getNextLsn</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">In replication environments configured as masters, the next LSN to be used.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i52" class="altColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNextPages--">getNextPages</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The next page number we expect to receive.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i53" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNumSites--">getNumSites</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of sites used in the last election.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i54" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getNumThrottles--">getNumThrottles</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">Transmission limited.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i55" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getOutdated--">getOutdated</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of outdated conditions detected.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i56" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPagesDuplicated--">getPagesDuplicated</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of duplicate pages received.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i57" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPagesRecords--">getPagesRecords</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of pages received and stored.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i58" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getPagesRequested--">getPagesRequested</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of pages missed and requested from the master.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i59" class="rowColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStartSyncDelayed--">getStartSyncDelayed</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of times the client had to delay the start of a cache flush
|
|
operation (initiated by the master for an impending checkpoint) because
|
|
it was missing some previous log record(s).</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i60" class="altColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStartupComplete--">getStartupComplete</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The client site has completed its startup procedures and is now handling live records from the master.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i61" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getStatus--">getStatus</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The current replication mode.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i62" class="altColor">
|
|
<td class="colFirst"><code>long</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getTxnsApplied--">getTxnsApplied</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The number of transactions applied.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i63" class="rowColor">
|
|
<td class="colFirst"><code>boolean</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getView--">getView</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">True if the site is a view and false if not.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i64" class="altColor">
|
|
<td class="colFirst"><code><a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a></code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWaitingLsn--">getWaitingLsn</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The LSN of the first log record we have after missing log records being waited
|
|
for, or 0 if no log records are currently missing.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i65" class="rowColor">
|
|
<td class="colFirst"><code>int</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getWaitingPages--">getWaitingPages</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">The page number of the first page we have after missing pages being
|
|
waited for, or 0 if no pages are currently missing.</div>
|
|
</td>
|
|
</tr>
|
|
<tr id="i66" class="altColor">
|
|
<td class="colFirst"><code>java.lang.String</code></td>
|
|
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#toString--">toString</a></span>()</code></th>
|
|
<td class="colLast">
|
|
<div class="block">For convenience, the ReplicationStats class has a toString method
|
|
that lists all the data fields.</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 java.lang.Object</h3>
|
|
<code>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</code></li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<div class="details">
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<!-- ============ FIELD DETAIL =========== -->
|
|
<ul class="blockList">
|
|
<li class="blockList"><a name="field.detail">
|
|
<!-- -->
|
|
</a>
|
|
<h3>Field Detail</h3>
|
|
<a name="REP_CLIENT">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>REP_CLIENT</h4>
|
|
<pre>public static final int REP_CLIENT</pre>
|
|
<div class="block">The environment is configured as a replication client, as reported by <a href="#getStatus--"><code>getStatus()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.sleepycat.db.ReplicationStats.REP_CLIENT">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="REP_MASTER">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>REP_MASTER</h4>
|
|
<pre>public static final int REP_MASTER</pre>
|
|
<div class="block">The environment is configured as a replication master, as reported by <a href="#getStatus--"><code>getStatus()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.sleepycat.db.ReplicationStats.REP_MASTER">Constant Field Values</a></dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="REP_NONE">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>REP_NONE</h4>
|
|
<pre>public static final int REP_NONE</pre>
|
|
<div class="block">Replication is not configured for this environment, as reported by <a href="#getStatus--"><code>getStatus()</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="seeLabel">See Also:</span></dt>
|
|
<dd><a href="../../../constant-values.html#com.sleepycat.db.ReplicationStats.REP_NONE">Constant Field Values</a></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="getStartupComplete--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStartupComplete</h4>
|
|
<pre class="methodSignature">public boolean getStartupComplete()</pre>
|
|
<div class="block">The client site has completed its startup procedures and is now handling live records from the master.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if the client site has completed its startup procedures</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getView--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getView</h4>
|
|
<pre class="methodSignature">public boolean getView()</pre>
|
|
<div class="block">True if the site is a view and false if not.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>true if the site is a view</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogQueued--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogQueued</h4>
|
|
<pre class="methodSignature">public long getLogQueued()</pre>
|
|
<div class="block">The number of log records currently queued.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of log records currently queued</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getStatus--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStatus</h4>
|
|
<pre class="methodSignature">public int getStatus()</pre>
|
|
<div class="block">The current replication mode. Set to one of <a href="#REP_MASTER"><code>REP_MASTER</code></a>, <a href="#REP_CLIENT"><code>REP_CLIENT</code></a> or <a href="#REP_NONE"><code>REP_NONE</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current replication mode</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNextLsn--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNextLsn</h4>
|
|
<pre class="methodSignature">public <a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a> getNextLsn()</pre>
|
|
<div class="block">In replication environments configured as masters, the next LSN to be used.
|
|
In replication environments configured as clients, the next LSN expected.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the next LSN</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getWaitingLsn--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWaitingLsn</h4>
|
|
<pre class="methodSignature">public <a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a> getWaitingLsn()</pre>
|
|
<div class="block">The LSN of the first log record we have after missing log records being waited
|
|
for, or 0 if no log records are currently missing.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the LSN of the first log record we have after missing log records
|
|
being waited for, or 0 if no log records are currently missing</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaxPermLsn--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaxPermLsn</h4>
|
|
<pre class="methodSignature">public <a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a> getMaxPermLsn()</pre>
|
|
<div class="block">The LSN of the maximum permanent log record, or 0 if there are no permanent log records.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the LSN of the maximum permanent log record, or 0 if there are no permanent log records</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNextPages--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNextPages</h4>
|
|
<pre class="methodSignature">public int getNextPages()</pre>
|
|
<div class="block">The next page number we expect to receive.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the next page number we expect to receive</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getWaitingPages--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getWaitingPages</h4>
|
|
<pre class="methodSignature">public int getWaitingPages()</pre>
|
|
<div class="block">The page number of the first page we have after missing pages being
|
|
waited for, or 0 if no pages are currently missing.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the page number of the first page we have after missing pages
|
|
being waited for, or 0 if no pages are currently missing</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getDupmasters--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getDupmasters</h4>
|
|
<pre class="methodSignature">public int getDupmasters()</pre>
|
|
<div class="block">The number of duplicate master conditions originally detected at this site.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of duplicate master conditions originally
|
|
detected at this site</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEnvId--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEnvId</h4>
|
|
<pre class="methodSignature">public long getEnvId()</pre>
|
|
<div class="block">The current environment ID.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current environment ID</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEnvPriority--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEnvPriority</h4>
|
|
<pre class="methodSignature">public int getEnvPriority()</pre>
|
|
<div class="block">The current environment priority.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current environment priority</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getExtDuplicated--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getExtDuplicated</h4>
|
|
<pre class="methodSignature">public long getExtDuplicated()</pre>
|
|
<div class="block">The number of duplicate external file messages.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of duplicate external file messages</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getExtRecords--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getExtRecords</h4>
|
|
<pre class="methodSignature">public long getExtRecords()</pre>
|
|
<div class="block">The number of external file messages.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of external file messages</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getExtRereq--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getExtRereq</h4>
|
|
<pre class="methodSignature">public long getExtRereq()</pre>
|
|
<div class="block">The number of re-requested external file messages.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of re-requested external file messages</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getExtUpdateRereq--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getExtUpdateRereq</h4>
|
|
<pre class="methodSignature">public long getExtUpdateRereq()</pre>
|
|
<div class="block">The number of re-requested external file update messages.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of re-requested external file update messages</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBulkFills--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBulkFills</h4>
|
|
<pre class="methodSignature">public long getBulkFills()</pre>
|
|
<div class="block">The number of times the bulk buffer filled up, forcing the buffer content to be sent.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of times the bulk buffer filled up, forcing the buffer content to be sent</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBulkOverflows--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBulkOverflows</h4>
|
|
<pre class="methodSignature">public long getBulkOverflows()</pre>
|
|
<div class="block">The number of times a record was bigger than the entire bulk buffer,
|
|
and therefore had to be sent as a singleton.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>The number of times a record was bigger than the entire bulk
|
|
buffer, and therefore had to be sent as a singleton</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBulkRecords--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBulkRecords</h4>
|
|
<pre class="methodSignature">public long getBulkRecords()</pre>
|
|
<div class="block">The number of records added to a bulk buffer.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of records added to a bulk buffer</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getBulkTransfers--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getBulkTransfers</h4>
|
|
<pre class="methodSignature">public long getBulkTransfers()</pre>
|
|
<div class="block">The number of bulk buffers transferred (via a call to the
|
|
application's <a href="ReplicationTransport.html" title="interface in com.sleepycat.db"><code>ReplicationTransport</code></a> function).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of bulk buffers transferred</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getClientRerequests--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getClientRerequests</h4>
|
|
<pre class="methodSignature">public long getClientRerequests()</pre>
|
|
<div class="block">The number of times this client site received a "re-request" message,
|
|
indicating that a request it previously sent to another client could
|
|
not be serviced by that client. (Compare to <a href="#getClientSvcMiss--"><code>getClientSvcMiss()</code></a>.)</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of times this client site received a re-request message</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getClientSvcReq--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getClientSvcReq</h4>
|
|
<pre class="methodSignature">public long getClientSvcReq()</pre>
|
|
<div class="block">The number of "request" type messages received by this client.
|
|
("Request" messages are usually sent from a client to the master,
|
|
but a message passed with the anywhere parameter set to true in the
|
|
invocation of the application's <a href="ReplicationTransport.html#send-com.sleepycat.db.Environment-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.LogSequenceNumber-int-boolean-boolean-boolean-boolean-"><code>ReplicationTransport.send()</code></a>
|
|
function may be sent to another client instead.)</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of "request" type messages received by this client</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getClientSvcMiss--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getClientSvcMiss</h4>
|
|
<pre class="methodSignature">public long getClientSvcMiss()</pre>
|
|
<div class="block">The number of "request" type messages received by this client that
|
|
could not be processed, forcing the originating requester to try sending
|
|
the request to the master (or another client).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of "request" type messages received by this client
|
|
that could not be processed</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getGen--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getGen</h4>
|
|
<pre class="methodSignature">public int getGen()</pre>
|
|
<div class="block">The current master generation number.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current master generation number</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getEgen--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getEgen</h4>
|
|
<pre class="methodSignature">public int getEgen()</pre>
|
|
<div class="block">The election generation number for the current or next election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the election generation number for the current or next
|
|
election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLeaseChk--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLeaseChk</h4>
|
|
<pre class="methodSignature">public long getLeaseChk()</pre>
|
|
<div class="block">The number of lease validity checks.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of lease validity checks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLeaseChkMisses--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLeaseChkMisses</h4>
|
|
<pre class="methodSignature">public long getLeaseChkMisses()</pre>
|
|
<div class="block">The number of invalid lease validity checks.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of invalid lease validity checks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLeaseChkRefresh--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLeaseChkRefresh</h4>
|
|
<pre class="methodSignature">public long getLeaseChkRefresh()</pre>
|
|
<div class="block">The number of lease refresh attempts during lease validity checks.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of lease refresh attempts during
|
|
lease validity checks</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLeaseSends--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLeaseSends</h4>
|
|
<pre class="methodSignature">public long getLeaseSends()</pre>
|
|
<div class="block">The number of live messages sent while using leases.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of live messages sent while using leases</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogDuplicated--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogDuplicated</h4>
|
|
<pre class="methodSignature">public long getLogDuplicated()</pre>
|
|
<div class="block">The number of duplicate log records received.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of duplicate log records received</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogQueuedMax--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogQueuedMax</h4>
|
|
<pre class="methodSignature">public long getLogQueuedMax()</pre>
|
|
<div class="block">The maximum number of log records ever queued at once.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the maximum number of log records ever queued at once</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogQueuedTotal--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogQueuedTotal</h4>
|
|
<pre class="methodSignature">public long getLogQueuedTotal()</pre>
|
|
<div class="block">The total number of log records queued.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the total number of log records queued</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogRecords--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogRecords</h4>
|
|
<pre class="methodSignature">public long getLogRecords()</pre>
|
|
<div class="block">The number of log records received and appended to the log.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of log records received and appended to the log</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogRequested--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogRequested</h4>
|
|
<pre class="methodSignature">public long getLogRequested()</pre>
|
|
<div class="block">The number of times log records were missed and requested.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of times log records were missed and requested</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaster--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaster</h4>
|
|
<pre class="methodSignature">public long getMaster()</pre>
|
|
<div class="block">The current master environment ID.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current master environment ID</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMasterChanges--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMasterChanges</h4>
|
|
<pre class="methodSignature">public long getMasterChanges()</pre>
|
|
<div class="block">The number of times the master has changed.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of times the master has changed</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMsgsBadgen--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMsgsBadgen</h4>
|
|
<pre class="methodSignature">public long getMsgsBadgen()</pre>
|
|
<div class="block">The number of messages received with a bad generation number.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of messages received with a bad generation number</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMsgsProcessed--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMsgsProcessed</h4>
|
|
<pre class="methodSignature">public long getMsgsProcessed()</pre>
|
|
<div class="block">The number of messages received and processed.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of messages received and processed</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMsgsRecover--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMsgsRecover</h4>
|
|
<pre class="methodSignature">public long getMsgsRecover()</pre>
|
|
<div class="block">The number of messages ignored due to pending recovery.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of messages ignored due to pending recovery</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMsgsSendFailures--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMsgsSendFailures</h4>
|
|
<pre class="methodSignature">public long getMsgsSendFailures()</pre>
|
|
<div class="block">The number of failed message sends.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of failed message sends</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMsgsSent--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMsgsSent</h4>
|
|
<pre class="methodSignature">public long getMsgsSent()</pre>
|
|
<div class="block">The number of messages sent.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of messages sent</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNewsites--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNewsites</h4>
|
|
<pre class="methodSignature">public long getNewsites()</pre>
|
|
<div class="block">The number of new site messages received.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of new site messages received</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNumSites--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNumSites</h4>
|
|
<pre class="methodSignature">public int getNumSites()</pre>
|
|
<div class="block">The number of sites used in the last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of sites used in the last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getNumThrottles--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getNumThrottles</h4>
|
|
<pre class="methodSignature">public long getNumThrottles()</pre>
|
|
<div class="block">Transmission limited. This indicates the number of times that
|
|
data transmission was stopped to limit the amount of data sent
|
|
in response to a single call to
|
|
<a href="Environment.html#processReplicationMessage-com.sleepycat.db.DatabaseEntry-com.sleepycat.db.DatabaseEntry-int-"><code>Environment.processReplicationMessage</code></a>.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of times that data transmission was stopped to
|
|
limit the amount of data sent</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getOutdated--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getOutdated</h4>
|
|
<pre class="methodSignature">public long getOutdated()</pre>
|
|
<div class="block">The number of outdated conditions detected.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of outdated conditions detected</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPagesDuplicated--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPagesDuplicated</h4>
|
|
<pre class="methodSignature">public long getPagesDuplicated()</pre>
|
|
<div class="block">The number of duplicate pages received.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of duplicate pages received</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPagesRecords--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPagesRecords</h4>
|
|
<pre class="methodSignature">public long getPagesRecords()</pre>
|
|
<div class="block">The number of pages received and stored.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of pages received and stored</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getPagesRequested--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPagesRequested</h4>
|
|
<pre class="methodSignature">public long getPagesRequested()</pre>
|
|
<div class="block">The number of pages missed and requested from the master.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of pages missed and requested from the master</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getTxnsApplied--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getTxnsApplied</h4>
|
|
<pre class="methodSignature">public long getTxnsApplied()</pre>
|
|
<div class="block">The number of transactions applied.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of transactions applied</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getStartSyncDelayed--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getStartSyncDelayed</h4>
|
|
<pre class="methodSignature">public long getStartSyncDelayed()</pre>
|
|
<div class="block">The number of times the client had to delay the start of a cache flush
|
|
operation (initiated by the master for an impending checkpoint) because
|
|
it was missing some previous log record(s).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of times the client had to delay the start of a cache flush
|
|
operation (initiated by the master for an impending checkpoint) because
|
|
it was missing some previous log record(s)</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElections--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElections</h4>
|
|
<pre class="methodSignature">public long getElections()</pre>
|
|
<div class="block">The number of elections held.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of elections held</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionsWon--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionsWon</h4>
|
|
<pre class="methodSignature">public long getElectionsWon()</pre>
|
|
<div class="block">The number of elections won.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of elections won</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionCurWinner--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionCurWinner</h4>
|
|
<pre class="methodSignature">public long getElectionCurWinner()</pre>
|
|
<div class="block">The environment ID of the winner of the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the environment ID of the winner of the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionGen--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionGen</h4>
|
|
<pre class="methodSignature">public int getElectionGen()</pre>
|
|
<div class="block">The master generation number of the winner of the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the master generation number of the winner of the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionDatagen--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionDatagen</h4>
|
|
<pre class="methodSignature">public int getElectionDatagen()</pre>
|
|
<div class="block">The master data generation number of the winner of the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the master data generation number of the winner of the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionLsn--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionLsn</h4>
|
|
<pre class="methodSignature">public <a href="LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</a> getElectionLsn()</pre>
|
|
<div class="block">The maximum LSN of the winner of the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the maximum LSN of the winner of the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionNumSites--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionNumSites</h4>
|
|
<pre class="methodSignature">public int getElectionNumSites()</pre>
|
|
<div class="block">The number of sites responding to this site during the current election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of sites responding to this site during the current election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionNumVotes--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionNumVotes</h4>
|
|
<pre class="methodSignature">public int getElectionNumVotes()</pre>
|
|
<div class="block">The number of votes required in the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of votes required in the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionPriority--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionPriority</h4>
|
|
<pre class="methodSignature">public int getElectionPriority()</pre>
|
|
<div class="block">The priority of the winner of the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the priority of the winner of the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionStatus--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionStatus</h4>
|
|
<pre class="methodSignature">public int getElectionStatus()</pre>
|
|
<div class="block">The current election phase (0 if no election is in progress).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the current election phase</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionTiebreaker--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionTiebreaker</h4>
|
|
<pre class="methodSignature">public int getElectionTiebreaker()</pre>
|
|
<div class="block">The tiebreaker value of the winner of the current or last election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the tiebreaker value of the winner of the current or last election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionVotes--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionVotes</h4>
|
|
<pre class="methodSignature">public int getElectionVotes()</pre>
|
|
<div class="block">The number of votes received during the current election.</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of votes received during the current election</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionSec--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionSec</h4>
|
|
<pre class="methodSignature">public int getElectionSec()</pre>
|
|
<div class="block">The number of seconds the last election took (the total election time
|
|
is this value plus <a href="#getElectionUsec--"><code>getElectionUsec()</code></a>).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of seconds the last election took</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getElectionUsec--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getElectionUsec</h4>
|
|
<pre class="methodSignature">public int getElectionUsec()</pre>
|
|
<div class="block">The number of microseconds the last election took (the total election
|
|
time is this value plus <a href="#getElectionSec--"><code>getElectionSec()</code></a>).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of microseconds the last election took</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaxLeaseSec--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaxLeaseSec</h4>
|
|
<pre class="methodSignature">public int getMaxLeaseSec()</pre>
|
|
<div class="block">The number of seconds of the longest lease (the total lease time is
|
|
this value plus <a href="#getMaxLeaseUsec--"><code>getMaxLeaseUsec()</code></a>).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of seconds of the longest lease</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaxLeaseUsec--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaxLeaseUsec</h4>
|
|
<pre class="methodSignature">public int getMaxLeaseUsec()</pre>
|
|
<div class="block">The number of microseconds of the longest lease (the total lease time
|
|
is this value plus <a href="#getMaxLeaseSec--"><code>getMaxLeaseSec()</code></a>).</div>
|
|
<dl>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>the number of microseconds of the longest lease</dd>
|
|
</dl>
|
|
</li>
|
|
</ul>
|
|
<a name="toString--">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockListLast">
|
|
<li class="blockList">
|
|
<h4>toString</h4>
|
|
<pre class="methodSignature">public java.lang.String toString()</pre>
|
|
<div class="block">For convenience, the ReplicationStats class has a toString method
|
|
that lists all the data fields.</div>
|
|
<dl>
|
|
<dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
|
|
<dd><code>toString</code> in class <code>java.lang.Object</code></dd>
|
|
<dt><span class="returnLabel">Returns:</span></dt>
|
|
<dd>a String that lists all the data fields</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>
|
|
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
|
|
<a name="navbar.bottom.firstrow">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="navList" title="Navigation">
|
|
<li><a href="../../../index.html">Overview</a></li>
|
|
<li><a href="package-summary.html">Package</a></li>
|
|
<li class="navBarCell1Rev">Class</li>
|
|
<li><a href="class-use/ReplicationStats.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"><b>Berkeley DB</b><br><font size="-1"> version 18.1.40</font></div>
|
|
</div>
|
|
<div class="subNav">
|
|
<ul class="navList" id="allclasses_navbar_bottom">
|
|
<li><a href="../../../allclasses.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>
|
|
<noscript>
|
|
<div>JavaScript is disabled on your browser.</div>
|
|
</noscript>
|
|
</div>
|
|
<div>
|
|
<ul class="subNavList">
|
|
<li>Summary: </li>
|
|
<li>Nested | </li>
|
|
<li><a href="#field.summary">Field</a> | </li>
|
|
<li>Constr | </li>
|
|
<li><a href="#method.summary">Method</a></li>
|
|
</ul>
|
|
<ul class="subNavList">
|
|
<li>Detail: </li>
|
|
<li><a href="#field.detail">Field</a> | </li>
|
|
<li>Constr | </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, 2020 Oracle and/or its affiliates. All rights reserved.</font></small></p>
|
|
</body>
|
|
</html>
|