<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.4.2_05) on Mon Nov 08 21:00:49 EST 2004 --> <TITLE> ReplicationStats (Sleepycat Software, Inc. - Berkeley DB Java API) </TITLE> <META NAME="keywords" CONTENT="com.sleepycat.db.ReplicationStats class"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { parent.document.title="ReplicationStats (Sleepycat Software, Inc. - Berkeley DB Java API)"; } </SCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Berkeley DB</b><br><font size="-1"> version 4.3.21</font></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/sleepycat/db/RecoveryOperation.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> <A HREF="../../../com/sleepycat/db/ReplicationStatus.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ReplicationStats.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <HR> <!-- ======== START OF CLASS DATA ======== --> <H2> <FONT SIZE="-1"> com.sleepycat.db</FONT> <BR> Class ReplicationStats</H2> <PRE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> <IMG SRC="../../../resources/inherit.gif" ALT="extended by"><B>com.sleepycat.db.ReplicationStats</B> </PRE> <HR> <DL> <DT>public class <B>ReplicationStats</B><DT>extends <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL> <P> Replication statistics for a database environment. <P> <P> <HR> <P> <!-- ======== NESTED CLASS SUMMARY ======== --> <!-- =========== FIELD SUMMARY =========== --> <!-- ======== CONSTRUCTOR SUMMARY ======== --> <!-- ========== METHOD SUMMARY =========== --> <A NAME="method_summary"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=2><FONT SIZE="+2"> <B>Method Summary</B></FONT></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getDupmasters()">getDupmasters</A></B>()</CODE> <BR> The number of duplicate master conditions detected.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getEgen()">getEgen</A></B>()</CODE> <BR> The current election generation number.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionCurWinner()">getElectionCurWinner</A></B>()</CODE> <BR> The election winner.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionGen()">getElectionGen</A></B>()</CODE> <BR> The election generation number.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionLsn()">getElectionLsn</A></B>()</CODE> <BR> The maximum LSN of election winner.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionNumSites()">getElectionNumSites</A></B>()</CODE> <BR> The number sites expected to participate in elections.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionNumVotes()">getElectionNumVotes</A></B>()</CODE> <BR> The number of votes required to complete the election.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionPriority()">getElectionPriority</A></B>()</CODE> <BR> The election priority.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElections()">getElections</A></B>()</CODE> <BR> The number of elections held.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionStatus()">getElectionStatus</A></B>()</CODE> <BR> The current election phase (0 if no election is in progress).</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionsWon()">getElectionsWon</A></B>()</CODE> <BR> The number of elections won.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionTiebreaker()">getElectionTiebreaker</A></B>()</CODE> <BR> The election tiebreaker value.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionVotes()">getElectionVotes</A></B>()</CODE> <BR> The votes received this election round.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getEnvId()">getEnvId</A></B>()</CODE> <BR> The current environment ID.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getEnvPriority()">getEnvPriority</A></B>()</CODE> <BR> The current environment priority.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getGen()">getGen</A></B>()</CODE> <BR> The current generation number.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogDuplicated()">getLogDuplicated</A></B>()</CODE> <BR> The number of duplicate log records received.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogQueued()">getLogQueued</A></B>()</CODE> <BR> The number of log records currently queued.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogQueuedMax()">getLogQueuedMax</A></B>()</CODE> <BR> The maximum number of log records ever queued at once.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogQueuedTotal()">getLogQueuedTotal</A></B>()</CODE> <BR> The total number of log records queued.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogRecords()">getLogRecords</A></B>()</CODE> <BR> The number of log records received and appended to the log.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogRequested()">getLogRequested</A></B>()</CODE> <BR> The number of log records missed and requested.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaster()">getMaster</A></B>()</CODE> <BR> The current master environment ID.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMasterChanges()">getMasterChanges</A></B>()</CODE> <BR> The number of times the master has changed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsBadgen()">getMsgsBadgen</A></B>()</CODE> <BR> The number of messages received with a bad generation number.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsProcessed()">getMsgsProcessed</A></B>()</CODE> <BR> The number of messages received and processed.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsRecover()">getMsgsRecover</A></B>()</CODE> <BR> The number of messages ignored due to pending recovery.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsSendFailures()">getMsgsSendFailures</A></B>()</CODE> <BR> The number of failed message sends.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsSent()">getMsgsSent</A></B>()</CODE> <BR> The number of messages sent.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNewsites()">getNewsites</A></B>()</CODE> <BR> The number of new site messages received.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNextLsn()">getNextLsn</A></B>()</CODE> <BR> In replication environments configured as masters, the next LSN expected.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNextPages()">getNextPages</A></B>()</CODE> <BR> The next page number we expect to receive.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNumSites()">getNumSites</A></B>()</CODE> <BR> The number of sites believed to be in the replication group.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNumThrottles()">getNumThrottles</A></B>()</CODE> <BR> Transmission limited.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getOutdated()">getOutdated</A></B>()</CODE> <BR> The number of outdated conditions detected.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getPagesDuplicated()">getPagesDuplicated</A></B>()</CODE> <BR> The number of duplicate pages received.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getPagesRecords()">getPagesRecords</A></B>()</CODE> <BR> The number of pages received and stored.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getPagesRequested()">getPagesRequested</A></B>()</CODE> <BR> The number of pages missed and requested from the master.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStartupComplete()">getStartupComplete</A></B>()</CODE> <BR> The client site has completed its startup procedures and is now handling live records from the master.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()">getStatus</A></B>()</CODE> <BR> The current replication mode.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getTxnsApplied()">getTxnsApplied</A></B>()</CODE> <BR> The number of transactions applied.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getWaitingLsn()">getWaitingLsn</A></B>()</CODE> <BR> 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.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> int</CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getWaitingPages()">getWaitingPages</A></B>()</CODE> <BR> The page number of the first page we have after missing pages being waited for, or 0 if no pages are currently missing.</TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> <CODE> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> <TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#toString()">toString</A></B>()</CODE> <BR> For convenience, the ReplicationStats class has a toString method that lists all the data fields.</TD> </TR> </TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> <TD><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TD> </TR> <TR BGCOLOR="white" CLASS="TableRowColor"> <TD><CODE><A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#equals(java.lang.Object)" title="class or interface in java.lang">equals</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long)" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> </TR> </TABLE> <P> <!-- ============ FIELD DETAIL =========== --> <!-- ========= CONSTRUCTOR DETAIL ======== --> <!-- ============ METHOD DETAIL ========== --> <A NAME="method_detail"><!-- --></A> <TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> <TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> <TD COLSPAN=1><FONT SIZE="+2"> <B>Method Detail</B></FONT></TD> </TR> </TABLE> <A NAME="getStatus()"><!-- --></A><H3> getStatus</H3> <PRE> public int <B>getStatus</B>()</PRE> <DL> <DD>The current replication mode. Set to DB_REP_MASTER if the environment is a replication master, DB_REP_CLIENT if the environment is a replication client, or 0 if replication is not configured. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNextLsn()"><!-- --></A><H3> getNextLsn</H3> <PRE> public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getNextLsn</B>()</PRE> <DL> <DD>In replication environments configured as masters, the next LSN expected. In replication environments configured as clients, the next LSN to be used. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getWaitingLsn()"><!-- --></A><H3> getWaitingLsn</H3> <PRE> public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getWaitingLsn</B>()</PRE> <DL> <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. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNextPages()"><!-- --></A><H3> getNextPages</H3> <PRE> public int <B>getNextPages</B>()</PRE> <DL> <DD>The next page number we expect to receive. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getWaitingPages()"><!-- --></A><H3> getWaitingPages</H3> <PRE> public int <B>getWaitingPages</B>()</PRE> <DL> <DD>The page number of the first page we have after missing pages being waited for, or 0 if no pages are currently missing. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getDupmasters()"><!-- --></A><H3> getDupmasters</H3> <PRE> public int <B>getDupmasters</B>()</PRE> <DL> <DD>The number of duplicate master conditions detected. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getEnvId()"><!-- --></A><H3> getEnvId</H3> <PRE> public int <B>getEnvId</B>()</PRE> <DL> <DD>The current environment ID. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getEnvPriority()"><!-- --></A><H3> getEnvPriority</H3> <PRE> public int <B>getEnvPriority</B>()</PRE> <DL> <DD>The current environment priority. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getGen()"><!-- --></A><H3> getGen</H3> <PRE> public int <B>getGen</B>()</PRE> <DL> <DD>The current generation number. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getEgen()"><!-- --></A><H3> getEgen</H3> <PRE> public int <B>getEgen</B>()</PRE> <DL> <DD>The current election generation number. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogDuplicated()"><!-- --></A><H3> getLogDuplicated</H3> <PRE> public int <B>getLogDuplicated</B>()</PRE> <DL> <DD>The number of duplicate log records received. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogQueued()"><!-- --></A><H3> getLogQueued</H3> <PRE> public int <B>getLogQueued</B>()</PRE> <DL> <DD>The number of log records currently queued. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogQueuedMax()"><!-- --></A><H3> getLogQueuedMax</H3> <PRE> public int <B>getLogQueuedMax</B>()</PRE> <DL> <DD>The maximum number of log records ever queued at once. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogQueuedTotal()"><!-- --></A><H3> getLogQueuedTotal</H3> <PRE> public int <B>getLogQueuedTotal</B>()</PRE> <DL> <DD>The total number of log records queued. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogRecords()"><!-- --></A><H3> getLogRecords</H3> <PRE> public int <B>getLogRecords</B>()</PRE> <DL> <DD>The number of log records received and appended to the log. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getLogRequested()"><!-- --></A><H3> getLogRequested</H3> <PRE> public int <B>getLogRequested</B>()</PRE> <DL> <DD>The number of log records missed and requested. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMaster()"><!-- --></A><H3> getMaster</H3> <PRE> public int <B>getMaster</B>()</PRE> <DL> <DD>The current master environment ID. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMasterChanges()"><!-- --></A><H3> getMasterChanges</H3> <PRE> public int <B>getMasterChanges</B>()</PRE> <DL> <DD>The number of times the master has changed. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMsgsBadgen()"><!-- --></A><H3> getMsgsBadgen</H3> <PRE> public int <B>getMsgsBadgen</B>()</PRE> <DL> <DD>The number of messages received with a bad generation number. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMsgsProcessed()"><!-- --></A><H3> getMsgsProcessed</H3> <PRE> public int <B>getMsgsProcessed</B>()</PRE> <DL> <DD>The number of messages received and processed. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMsgsRecover()"><!-- --></A><H3> getMsgsRecover</H3> <PRE> public int <B>getMsgsRecover</B>()</PRE> <DL> <DD>The number of messages ignored due to pending recovery. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMsgsSendFailures()"><!-- --></A><H3> getMsgsSendFailures</H3> <PRE> public int <B>getMsgsSendFailures</B>()</PRE> <DL> <DD>The number of failed message sends. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getMsgsSent()"><!-- --></A><H3> getMsgsSent</H3> <PRE> public int <B>getMsgsSent</B>()</PRE> <DL> <DD>The number of messages sent. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNewsites()"><!-- --></A><H3> getNewsites</H3> <PRE> public int <B>getNewsites</B>()</PRE> <DL> <DD>The number of new site messages received. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNumSites()"><!-- --></A><H3> getNumSites</H3> <PRE> public int <B>getNumSites</B>()</PRE> <DL> <DD>The number of sites believed to be in the replication group. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getNumThrottles()"><!-- --></A><H3> getNumThrottles</H3> <PRE> public int <B>getNumThrottles</B>()</PRE> <DL> <DD>Transmission limited. This indicates the number of times data transmission was stopped to limit the amount of data sent in response to a single call to <A HREF="../../../com/sleepycat/db/Environment.html#processReplicationMessage(com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, int)"><CODE>Environment.processReplicationMessage</CODE></A>. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getOutdated()"><!-- --></A><H3> getOutdated</H3> <PRE> public int <B>getOutdated</B>()</PRE> <DL> <DD>The number of outdated conditions detected. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getPagesDuplicated()"><!-- --></A><H3> getPagesDuplicated</H3> <PRE> public int <B>getPagesDuplicated</B>()</PRE> <DL> <DD>The number of duplicate pages received. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getPagesRecords()"><!-- --></A><H3> getPagesRecords</H3> <PRE> public int <B>getPagesRecords</B>()</PRE> <DL> <DD>The number of pages received and stored. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getPagesRequested()"><!-- --></A><H3> getPagesRequested</H3> <PRE> public int <B>getPagesRequested</B>()</PRE> <DL> <DD>The number of pages missed and requested from the master. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getStartupComplete()"><!-- --></A><H3> getStartupComplete</H3> <PRE> public int <B>getStartupComplete</B>()</PRE> <DL> <DD>The client site has completed its startup procedures and is now handling live records from the master. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getTxnsApplied()"><!-- --></A><H3> getTxnsApplied</H3> <PRE> public int <B>getTxnsApplied</B>()</PRE> <DL> <DD>The number of transactions applied. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElections()"><!-- --></A><H3> getElections</H3> <PRE> public int <B>getElections</B>()</PRE> <DL> <DD>The number of elections held. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionsWon()"><!-- --></A><H3> getElectionsWon</H3> <PRE> public int <B>getElectionsWon</B>()</PRE> <DL> <DD>The number of elections won. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionCurWinner()"><!-- --></A><H3> getElectionCurWinner</H3> <PRE> public int <B>getElectionCurWinner</B>()</PRE> <DL> <DD>The election winner. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionGen()"><!-- --></A><H3> getElectionGen</H3> <PRE> public int <B>getElectionGen</B>()</PRE> <DL> <DD>The election generation number. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionLsn()"><!-- --></A><H3> getElectionLsn</H3> <PRE> public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getElectionLsn</B>()</PRE> <DL> <DD>The maximum LSN of election winner. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionNumSites()"><!-- --></A><H3> getElectionNumSites</H3> <PRE> public int <B>getElectionNumSites</B>()</PRE> <DL> <DD>The number sites expected to participate in elections. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionNumVotes()"><!-- --></A><H3> getElectionNumVotes</H3> <PRE> public int <B>getElectionNumVotes</B>()</PRE> <DL> <DD>The number of votes required to complete the election. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionPriority()"><!-- --></A><H3> getElectionPriority</H3> <PRE> public int <B>getElectionPriority</B>()</PRE> <DL> <DD>The election priority. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionStatus()"><!-- --></A><H3> getElectionStatus</H3> <PRE> public int <B>getElectionStatus</B>()</PRE> <DL> <DD>The current election phase (0 if no election is in progress). <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionTiebreaker()"><!-- --></A><H3> getElectionTiebreaker</H3> <PRE> public int <B>getElectionTiebreaker</B>()</PRE> <DL> <DD>The election tiebreaker value. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="getElectionVotes()"><!-- --></A><H3> getElectionVotes</H3> <PRE> public int <B>getElectionVotes</B>()</PRE> <DL> <DD>The votes received this election round. <P> <DD><DL> </DL> </DD> </DL> <HR> <A NAME="toString()"><!-- --></A><H3> toString</H3> <PRE> public <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> <DL> <DD>For convenience, the ReplicationStats class has a toString method that lists all the data fields. <P> <DD><DL> </DL> </DD> </DL> <!-- ========= END OF CLASS DATA ========= --> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> <b>Berkeley DB</b><br><font size="-1"> version 4.3.21</font></EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../com/sleepycat/db/RecoveryOperation.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> <A HREF="../../../com/sleepycat/db/ReplicationStatus.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html" target="_top"><B>FRAMES</B></A> <A HREF="ReplicationStats.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> <TR> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | FIELD | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> <TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> DETAIL: FIELD | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <HR> <font size=1><a href="../../../../sleepycat/legal.html">Copyright (c) 1996-2004</a> <a href="http://www.sleepycat.com">Sleepycat Software, Inc.</a> - All rights reserved.</font> </BODY> </HTML>