1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 2<!--NewPage--> 3<HTML> 4<HEAD> 5<!-- Generated by javadoc (build 1.5.0) on Thu May 15 17:17:31 EDT 2008 --> 6<TITLE> 7ReplicationStats (Oracle - Berkeley DB Java API) 8</TITLE> 9 10<META NAME="keywords" CONTENT="com.sleepycat.db.ReplicationStats class"> 11 12<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../style.css" TITLE="Style"> 13 14<SCRIPT type="text/javascript"> 15function windowTitle() 16{ 17 parent.document.title="ReplicationStats (Oracle - Berkeley DB Java API)"; 18} 19</SCRIPT> 20<NOSCRIPT> 21</NOSCRIPT> 22 23</HEAD> 24 25<BODY BGCOLOR="white" onload="windowTitle();"> 26 27 28<!-- ========= START OF TOP NAVBAR ======= --> 29<A NAME="navbar_top"><!-- --></A> 30<A HREF="#skip-navbar_top" title="Skip navigation links"></A> 31<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 32<TR> 33<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 34<A NAME="navbar_top_firstrow"><!-- --></A> 35<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 36 <TR ALIGN="center" VALIGN="top"> 37 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 38 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 39 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 40 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 41 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 44 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 45 </TR> 46</TABLE> 47</TD> 48<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 49<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 50</TD> 51</TR> 52 53<TR> 54<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 55 <A HREF="../../../com/sleepycat/db/ReplicationSiteUnavailableException.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 56 <A HREF="../../../com/sleepycat/db/ReplicationStatus.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 57<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 58 <A HREF="../../../index.html?com/sleepycat/db/ReplicationStats.html" target="_top"><B>FRAMES</B></A> 59 <A HREF="ReplicationStats.html" target="_top"><B>NO FRAMES</B></A> 60 <SCRIPT type="text/javascript"> 61 <!-- 62 if(window==top) { 63 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 64 } 65 //--> 66</SCRIPT> 67<NOSCRIPT> 68 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 69</NOSCRIPT> 70 71 72</FONT></TD> 73</TR> 74<TR> 75<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 76 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 77<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 78DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 79</TR> 80</TABLE> 81<A NAME="skip-navbar_top"></A> 82<!-- ========= END OF TOP NAVBAR ========= --> 83 84<HR> 85<!-- ======== START OF CLASS DATA ======== --> 86<H2> 87<FONT SIZE="-1"> 88com.sleepycat.db</FONT> 89<BR> 90Class ReplicationStats</H2> 91<PRE> 92<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">java.lang.Object</A> 93 <IMG SRC="../../../resources/inherit.gif" ALT="extended by "><B>com.sleepycat.db.ReplicationStats</B> 94</PRE> 95<HR> 96<DL> 97<DT><PRE>public class <B>ReplicationStats</B><DT>extends <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></DL> 98</PRE> 99 100<P> 101Replication statistics for a database environment. 102<P> 103 104<P> 105<HR> 106 107<P> 108<!-- =========== FIELD SUMMARY =========== --> 109 110<A NAME="field_summary"><!-- --></A> 111<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 112<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 113<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 114<B>Field Summary</B></FONT></TH> 115</TR> 116<TR BGCOLOR="white" CLASS="TableRowColor"> 117<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 118<CODE>static int</CODE></FONT></TD> 119<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#REP_CLIENT">REP_CLIENT</A></B></CODE> 120 121<BR> 122 The environment is configured as a replication client, as reported by <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()"><CODE>getStatus()</CODE></A>.</TD> 123</TR> 124<TR BGCOLOR="white" CLASS="TableRowColor"> 125<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 126<CODE>static int</CODE></FONT></TD> 127<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#REP_MASTER">REP_MASTER</A></B></CODE> 128 129<BR> 130 The environment is configured as a replication master, as reported by <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()"><CODE>getStatus()</CODE></A>.</TD> 131</TR> 132<TR BGCOLOR="white" CLASS="TableRowColor"> 133<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 134<CODE>static int</CODE></FONT></TD> 135<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#REP_NONE">REP_NONE</A></B></CODE> 136 137<BR> 138 Replication is not configured for this environment, as reported by <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()"><CODE>getStatus()</CODE></A>.</TD> 139</TR> 140</TABLE> 141 142<!-- ========== METHOD SUMMARY =========== --> 143 144<A NAME="method_summary"><!-- --></A> 145<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 146<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 147<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2"> 148<B>Method Summary</B></FONT></TH> 149</TR> 150<TR BGCOLOR="white" CLASS="TableRowColor"> 151<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 152<CODE> int</CODE></FONT></TD> 153<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getBulkFills()">getBulkFills</A></B>()</CODE> 154 155<BR> 156 The number of times the bulk buffer filled up, forcing the buffer content 157 to be sent.</TD> 158</TR> 159<TR BGCOLOR="white" CLASS="TableRowColor"> 160<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 161<CODE> int</CODE></FONT></TD> 162<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getBulkOverflows()">getBulkOverflows</A></B>()</CODE> 163 164<BR> 165 The number of times a record was bigger than the entire bulk buffer, 166 and therefore had to be sent as a singleton.</TD> 167</TR> 168<TR BGCOLOR="white" CLASS="TableRowColor"> 169<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 170<CODE> int</CODE></FONT></TD> 171<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getBulkRecords()">getBulkRecords</A></B>()</CODE> 172 173<BR> 174 The number of records added to a bulk buffer.</TD> 175</TR> 176<TR BGCOLOR="white" CLASS="TableRowColor"> 177<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 178<CODE> int</CODE></FONT></TD> 179<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getBulkTransfers()">getBulkTransfers</A></B>()</CODE> 180 181<BR> 182 The number of bulk buffers transferred (via a call to the 183 application's <A HREF="../../../com/sleepycat/db/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(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, int, boolean, boolean, boolean, boolean)</CODE></A> method).</TD> 184</TR> 185<TR BGCOLOR="white" CLASS="TableRowColor"> 186<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 187<CODE> int</CODE></FONT></TD> 188<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getClientRerequests()">getClientRerequests</A></B>()</CODE> 189 190<BR> 191 The number of times this client site received a "re-request" message, 192 indicating that a request it previously sent to another client could 193 not be serviced by that client.</TD> 194</TR> 195<TR BGCOLOR="white" CLASS="TableRowColor"> 196<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 197<CODE> int</CODE></FONT></TD> 198<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getClientSvcMiss()">getClientSvcMiss</A></B>()</CODE> 199 200<BR> 201 The number of "request" type messages received by this client that 202 could not be processed, forcing the originating requestor to try 203 sending the request to the master (or another client).</TD> 204</TR> 205<TR BGCOLOR="white" CLASS="TableRowColor"> 206<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 207<CODE> int</CODE></FONT></TD> 208<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getClientSvcReq()">getClientSvcReq</A></B>()</CODE> 209 210<BR> 211 The number of "request" type messages received by this client.</TD> 212</TR> 213<TR BGCOLOR="white" CLASS="TableRowColor"> 214<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 215<CODE> int</CODE></FONT></TD> 216<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getDupmasters()">getDupmasters</A></B>()</CODE> 217 218<BR> 219 The number of duplicate master conditions detected.</TD> 220</TR> 221<TR BGCOLOR="white" CLASS="TableRowColor"> 222<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 223<CODE> int</CODE></FONT></TD> 224<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getEgen()">getEgen</A></B>()</CODE> 225 226<BR> 227 The current election generation number.</TD> 228</TR> 229<TR BGCOLOR="white" CLASS="TableRowColor"> 230<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 231<CODE> int</CODE></FONT></TD> 232<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionCurWinner()">getElectionCurWinner</A></B>()</CODE> 233 234<BR> 235 The election winner.</TD> 236</TR> 237<TR BGCOLOR="white" CLASS="TableRowColor"> 238<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 239<CODE> int</CODE></FONT></TD> 240<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionGen()">getElectionGen</A></B>()</CODE> 241 242<BR> 243 The election generation number.</TD> 244</TR> 245<TR BGCOLOR="white" CLASS="TableRowColor"> 246<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 247<CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> 248<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionLsn()">getElectionLsn</A></B>()</CODE> 249 250<BR> 251 The maximum LSN of election winner.</TD> 252</TR> 253<TR BGCOLOR="white" CLASS="TableRowColor"> 254<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 255<CODE> int</CODE></FONT></TD> 256<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionNumSites()">getElectionNumSites</A></B>()</CODE> 257 258<BR> 259 The number sites expected to participate in elections.</TD> 260</TR> 261<TR BGCOLOR="white" CLASS="TableRowColor"> 262<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 263<CODE> int</CODE></FONT></TD> 264<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionNumVotes()">getElectionNumVotes</A></B>()</CODE> 265 266<BR> 267 The number of votes required to complete the election.</TD> 268</TR> 269<TR BGCOLOR="white" CLASS="TableRowColor"> 270<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 271<CODE> int</CODE></FONT></TD> 272<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionPriority()">getElectionPriority</A></B>()</CODE> 273 274<BR> 275 The election priority.</TD> 276</TR> 277<TR BGCOLOR="white" CLASS="TableRowColor"> 278<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 279<CODE> int</CODE></FONT></TD> 280<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElections()">getElections</A></B>()</CODE> 281 282<BR> 283 The number of elections held.</TD> 284</TR> 285<TR BGCOLOR="white" CLASS="TableRowColor"> 286<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 287<CODE> int</CODE></FONT></TD> 288<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionSec()">getElectionSec</A></B>()</CODE> 289 290<BR> 291 The number of seconds the last election took (the total election 292 time is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionUsec()"><CODE>getElectionUsec()</CODE></A>).</TD> 293</TR> 294<TR BGCOLOR="white" CLASS="TableRowColor"> 295<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 296<CODE> int</CODE></FONT></TD> 297<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionStatus()">getElectionStatus</A></B>()</CODE> 298 299<BR> 300 The current election phase (0 if no election is in progress).</TD> 301</TR> 302<TR BGCOLOR="white" CLASS="TableRowColor"> 303<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 304<CODE> int</CODE></FONT></TD> 305<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionsWon()">getElectionsWon</A></B>()</CODE> 306 307<BR> 308 The number of elections won.</TD> 309</TR> 310<TR BGCOLOR="white" CLASS="TableRowColor"> 311<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 312<CODE> int</CODE></FONT></TD> 313<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionTiebreaker()">getElectionTiebreaker</A></B>()</CODE> 314 315<BR> 316 The election tiebreaker value.</TD> 317</TR> 318<TR BGCOLOR="white" CLASS="TableRowColor"> 319<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 320<CODE> int</CODE></FONT></TD> 321<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionUsec()">getElectionUsec</A></B>()</CODE> 322 323<BR> 324 The number of microseconds the last election took (the total election 325 time is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionSec()"><CODE>getElectionSec()</CODE></A>).</TD> 326</TR> 327<TR BGCOLOR="white" CLASS="TableRowColor"> 328<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 329<CODE> int</CODE></FONT></TD> 330<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionVotes()">getElectionVotes</A></B>()</CODE> 331 332<BR> 333 The votes received this election round.</TD> 334</TR> 335<TR BGCOLOR="white" CLASS="TableRowColor"> 336<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 337<CODE> int</CODE></FONT></TD> 338<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getEnvId()">getEnvId</A></B>()</CODE> 339 340<BR> 341 The current environment ID.</TD> 342</TR> 343<TR BGCOLOR="white" CLASS="TableRowColor"> 344<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 345<CODE> int</CODE></FONT></TD> 346<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getEnvPriority()">getEnvPriority</A></B>()</CODE> 347 348<BR> 349 The current environment priority.</TD> 350</TR> 351<TR BGCOLOR="white" CLASS="TableRowColor"> 352<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 353<CODE> int</CODE></FONT></TD> 354<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getGen()">getGen</A></B>()</CODE> 355 356<BR> 357 The current generation number.</TD> 358</TR> 359<TR BGCOLOR="white" CLASS="TableRowColor"> 360<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 361<CODE> int</CODE></FONT></TD> 362<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogDuplicated()">getLogDuplicated</A></B>()</CODE> 363 364<BR> 365 The number of duplicate log records received.</TD> 366</TR> 367<TR BGCOLOR="white" CLASS="TableRowColor"> 368<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 369<CODE> int</CODE></FONT></TD> 370<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogQueued()">getLogQueued</A></B>()</CODE> 371 372<BR> 373 The number of log records currently queued.</TD> 374</TR> 375<TR BGCOLOR="white" CLASS="TableRowColor"> 376<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 377<CODE> int</CODE></FONT></TD> 378<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogQueuedMax()">getLogQueuedMax</A></B>()</CODE> 379 380<BR> 381 The maximum number of log records ever queued at once.</TD> 382</TR> 383<TR BGCOLOR="white" CLASS="TableRowColor"> 384<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 385<CODE> int</CODE></FONT></TD> 386<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogQueuedTotal()">getLogQueuedTotal</A></B>()</CODE> 387 388<BR> 389 The total number of log records queued.</TD> 390</TR> 391<TR BGCOLOR="white" CLASS="TableRowColor"> 392<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 393<CODE> int</CODE></FONT></TD> 394<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogRecords()">getLogRecords</A></B>()</CODE> 395 396<BR> 397 The number of log records received and appended to the log.</TD> 398</TR> 399<TR BGCOLOR="white" CLASS="TableRowColor"> 400<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 401<CODE> int</CODE></FONT></TD> 402<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getLogRequested()">getLogRequested</A></B>()</CODE> 403 404<BR> 405 The number of log records missed and requested.</TD> 406</TR> 407<TR BGCOLOR="white" CLASS="TableRowColor"> 408<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 409<CODE> int</CODE></FONT></TD> 410<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaster()">getMaster</A></B>()</CODE> 411 412<BR> 413 The current master environment ID.</TD> 414</TR> 415<TR BGCOLOR="white" CLASS="TableRowColor"> 416<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 417<CODE> int</CODE></FONT></TD> 418<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMasterChanges()">getMasterChanges</A></B>()</CODE> 419 420<BR> 421 The number of times the master has changed.</TD> 422</TR> 423<TR BGCOLOR="white" CLASS="TableRowColor"> 424<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 425<CODE> int</CODE></FONT></TD> 426<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxLeaseSec()">getMaxLeaseSec</A></B>()</CODE> 427 428<BR> 429 The number of seconds of the longest lease (the total lease time 430 is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxLeaseUsec()"><CODE>getMaxLeaseUsec()</CODE></A>).</TD> 431</TR> 432<TR BGCOLOR="white" CLASS="TableRowColor"> 433<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 434<CODE> int</CODE></FONT></TD> 435<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxLeaseUsec()">getMaxLeaseUsec</A></B>()</CODE> 436 437<BR> 438 The number of microseconds of the longest lease (the total lease 439 time is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxLeaseSec()"><CODE>getMaxLeaseSec()</CODE></A>).</TD> 440</TR> 441<TR BGCOLOR="white" CLASS="TableRowColor"> 442<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 443<CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> 444<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxPermLsn()">getMaxPermLsn</A></B>()</CODE> 445 446<BR> 447 The LSN of the maximum permanent log record, or 0 if there are no 448 permanent log records.</TD> 449</TR> 450<TR BGCOLOR="white" CLASS="TableRowColor"> 451<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 452<CODE> int</CODE></FONT></TD> 453<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsBadgen()">getMsgsBadgen</A></B>()</CODE> 454 455<BR> 456 The number of messages received with a bad generation number.</TD> 457</TR> 458<TR BGCOLOR="white" CLASS="TableRowColor"> 459<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 460<CODE> int</CODE></FONT></TD> 461<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsProcessed()">getMsgsProcessed</A></B>()</CODE> 462 463<BR> 464 The number of messages received and processed.</TD> 465</TR> 466<TR BGCOLOR="white" CLASS="TableRowColor"> 467<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 468<CODE> int</CODE></FONT></TD> 469<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsRecover()">getMsgsRecover</A></B>()</CODE> 470 471<BR> 472 The number of messages ignored due to pending recovery.</TD> 473</TR> 474<TR BGCOLOR="white" CLASS="TableRowColor"> 475<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 476<CODE> int</CODE></FONT></TD> 477<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsSendFailures()">getMsgsSendFailures</A></B>()</CODE> 478 479<BR> 480 The number of failed message sends.</TD> 481</TR> 482<TR BGCOLOR="white" CLASS="TableRowColor"> 483<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 484<CODE> int</CODE></FONT></TD> 485<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMsgsSent()">getMsgsSent</A></B>()</CODE> 486 487<BR> 488 The number of messages sent.</TD> 489</TR> 490<TR BGCOLOR="white" CLASS="TableRowColor"> 491<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 492<CODE> int</CODE></FONT></TD> 493<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNewsites()">getNewsites</A></B>()</CODE> 494 495<BR> 496 The number of new site messages received.</TD> 497</TR> 498<TR BGCOLOR="white" CLASS="TableRowColor"> 499<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 500<CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> 501<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNextLsn()">getNextLsn</A></B>()</CODE> 502 503<BR> 504 In replication environments configured as masters, the next LSN 505 expected.</TD> 506</TR> 507<TR BGCOLOR="white" CLASS="TableRowColor"> 508<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 509<CODE> int</CODE></FONT></TD> 510<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNextPages()">getNextPages</A></B>()</CODE> 511 512<BR> 513 The next page number we expect to receive.</TD> 514</TR> 515<TR BGCOLOR="white" CLASS="TableRowColor"> 516<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 517<CODE> int</CODE></FONT></TD> 518<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNumSites()">getNumSites</A></B>()</CODE> 519 520<BR> 521 The number of sites believed to be in the replication group.</TD> 522</TR> 523<TR BGCOLOR="white" CLASS="TableRowColor"> 524<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 525<CODE> int</CODE></FONT></TD> 526<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getNumThrottles()">getNumThrottles</A></B>()</CODE> 527 528<BR> 529 Transmission limited.</TD> 530</TR> 531<TR BGCOLOR="white" CLASS="TableRowColor"> 532<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 533<CODE> int</CODE></FONT></TD> 534<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getOutdated()">getOutdated</A></B>()</CODE> 535 536<BR> 537 The number of outdated conditions detected.</TD> 538</TR> 539<TR BGCOLOR="white" CLASS="TableRowColor"> 540<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 541<CODE> int</CODE></FONT></TD> 542<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getPagesDuplicated()">getPagesDuplicated</A></B>()</CODE> 543 544<BR> 545 The number of duplicate pages received.</TD> 546</TR> 547<TR BGCOLOR="white" CLASS="TableRowColor"> 548<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 549<CODE> int</CODE></FONT></TD> 550<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getPagesRecords()">getPagesRecords</A></B>()</CODE> 551 552<BR> 553 The number of pages received and stored.</TD> 554</TR> 555<TR BGCOLOR="white" CLASS="TableRowColor"> 556<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 557<CODE> int</CODE></FONT></TD> 558<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getPagesRequested()">getPagesRequested</A></B>()</CODE> 559 560<BR> 561 The number of pages missed and requested from the master.</TD> 562</TR> 563<TR BGCOLOR="white" CLASS="TableRowColor"> 564<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 565<CODE> int</CODE></FONT></TD> 566<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStartSyncDelayed()">getStartSyncDelayed</A></B>()</CODE> 567 568<BR> 569 The number of times the client had to delay the start of a cache flush 570 operation (initiated by the master for an impending checkpoint) because it 571 was missing some previous log record(s).</TD> 572</TR> 573<TR BGCOLOR="white" CLASS="TableRowColor"> 574<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 575<CODE> boolean</CODE></FONT></TD> 576<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStartupComplete()">getStartupComplete</A></B>()</CODE> 577 578<BR> 579 The client site has completed its startup procedures and is now 580 handling live records from the master.</TD> 581</TR> 582<TR BGCOLOR="white" CLASS="TableRowColor"> 583<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 584<CODE> int</CODE></FONT></TD> 585<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()">getStatus</A></B>()</CODE> 586 587<BR> 588 The current replication mode.</TD> 589</TR> 590<TR BGCOLOR="white" CLASS="TableRowColor"> 591<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 592<CODE> int</CODE></FONT></TD> 593<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getTxnsApplied()">getTxnsApplied</A></B>()</CODE> 594 595<BR> 596 The number of transactions applied.</TD> 597</TR> 598<TR BGCOLOR="white" CLASS="TableRowColor"> 599<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 600<CODE> <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A></CODE></FONT></TD> 601<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getWaitingLsn()">getWaitingLsn</A></B>()</CODE> 602 603<BR> 604 The LSN of the first log record we have after missing log records 605 being waited for, or 0 if no log records are currently missing.</TD> 606</TR> 607<TR BGCOLOR="white" CLASS="TableRowColor"> 608<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 609<CODE> int</CODE></FONT></TD> 610<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#getWaitingPages()">getWaitingPages</A></B>()</CODE> 611 612<BR> 613 The page number of the first page we have after missing pages being 614 waited for, or 0 if no pages are currently missing.</TD> 615</TR> 616<TR BGCOLOR="white" CLASS="TableRowColor"> 617<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"> 618<CODE> <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A></CODE></FONT></TD> 619<TD><CODE><B><A HREF="../../../com/sleepycat/db/ReplicationStats.html#toString()">toString</A></B>()</CODE> 620 621<BR> 622 For convenience, the ReplicationStats class has a toString method 623 that lists all the data fields.</TD> 624</TR> 625</TABLE> 626 <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A> 627<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 628<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"> 629<TH ALIGN="left"><B>Methods inherited from class java.lang.<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></B></TH> 630</TR> 631<TR BGCOLOR="white" CLASS="TableRowColor"> 632<TD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#clone()" title="class or interface in java.lang">clone</A>, <A HREF="http://java.sun.com/j2se/1.5.0/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.5.0/docs/api/java/lang/Object.html#finalize()" title="class or interface in java.lang">finalize</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#getClass()" title="class or interface in java.lang">getClass</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#hashCode()" title="class or interface in java.lang">hashCode</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notify()" title="class or interface in java.lang">notify</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#notifyAll()" title="class or interface in java.lang">notifyAll</A>, <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#wait()" title="class or interface in java.lang">wait</A>, <A HREF="http://java.sun.com/j2se/1.5.0/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.5.0/docs/api/java/lang/Object.html#wait(long, int)" title="class or interface in java.lang">wait</A></CODE></TD> 633</TR> 634</TABLE> 635 636<P> 637 638<!-- ============ FIELD DETAIL =========== --> 639 640<A NAME="field_detail"><!-- --></A> 641<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 642<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 643<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 644<B>Field Detail</B></FONT></TH> 645</TR> 646</TABLE> 647 648<A NAME="REP_CLIENT"><!-- --></A><H3> 649REP_CLIENT</H3> 650<PRE> 651public static final int <B>REP_CLIENT</B></PRE> 652<DL> 653<DD>The environment is configured as a replication client, as reported by <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()"><CODE>getStatus()</CODE></A>. 654<P> 655<DL> 656<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.sleepycat.db.ReplicationStats.REP_CLIENT">Constant Field Values</A></DL> 657</DL> 658<HR> 659 660<A NAME="REP_MASTER"><!-- --></A><H3> 661REP_MASTER</H3> 662<PRE> 663public static final int <B>REP_MASTER</B></PRE> 664<DL> 665<DD>The environment is configured as a replication master, as reported by <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()"><CODE>getStatus()</CODE></A>. 666<P> 667<DL> 668<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.sleepycat.db.ReplicationStats.REP_MASTER">Constant Field Values</A></DL> 669</DL> 670<HR> 671 672<A NAME="REP_NONE"><!-- --></A><H3> 673REP_NONE</H3> 674<PRE> 675public static final int <B>REP_NONE</B></PRE> 676<DL> 677<DD>Replication is not configured for this environment, as reported by <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getStatus()"><CODE>getStatus()</CODE></A>. 678<P> 679<DL> 680<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.sleepycat.db.ReplicationStats.REP_NONE">Constant Field Values</A></DL> 681</DL> 682 683<!-- ============ METHOD DETAIL ========== --> 684 685<A NAME="method_detail"><!-- --></A> 686<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""> 687<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"> 688<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"> 689<B>Method Detail</B></FONT></TH> 690</TR> 691</TABLE> 692 693<A NAME="getLogQueued()"><!-- --></A><H3> 694getLogQueued</H3> 695<PRE> 696public int <B>getLogQueued</B>()</PRE> 697<DL> 698<DD>The number of log records currently queued. 699<P> 700<DD><DL> 701</DL> 702</DD> 703</DL> 704<HR> 705 706<A NAME="getStartupComplete()"><!-- --></A><H3> 707getStartupComplete</H3> 708<PRE> 709public boolean <B>getStartupComplete</B>()</PRE> 710<DL> 711<DD>The client site has completed its startup procedures and is now 712 handling live records from the master. 713<P> 714<DD><DL> 715</DL> 716</DD> 717</DL> 718<HR> 719 720<A NAME="getStatus()"><!-- --></A><H3> 721getStatus</H3> 722<PRE> 723public int <B>getStatus</B>()</PRE> 724<DL> 725<DD>The current replication mode. Set to REP_MASTER if the environment 726 is a replication master, REP_CLIENT if the environment is a 727 replication client, or REP_NONE if replication is not configured. 728<P> 729<DD><DL> 730</DL> 731</DD> 732</DL> 733<HR> 734 735<A NAME="getNextLsn()"><!-- --></A><H3> 736getNextLsn</H3> 737<PRE> 738public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getNextLsn</B>()</PRE> 739<DL> 740<DD>In replication environments configured as masters, the next LSN 741 expected. In replication environments configured as clients, the next 742 LSN to be used. 743<P> 744<DD><DL> 745</DL> 746</DD> 747</DL> 748<HR> 749 750<A NAME="getWaitingLsn()"><!-- --></A><H3> 751getWaitingLsn</H3> 752<PRE> 753public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getWaitingLsn</B>()</PRE> 754<DL> 755<DD>The LSN of the first log record we have after missing log records 756 being waited for, or 0 if no log records are currently missing. 757<P> 758<DD><DL> 759</DL> 760</DD> 761</DL> 762<HR> 763 764<A NAME="getMaxPermLsn()"><!-- --></A><H3> 765getMaxPermLsn</H3> 766<PRE> 767public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getMaxPermLsn</B>()</PRE> 768<DL> 769<DD>The LSN of the maximum permanent log record, or 0 if there are no 770 permanent log records. 771<P> 772<DD><DL> 773</DL> 774</DD> 775</DL> 776<HR> 777 778<A NAME="getNextPages()"><!-- --></A><H3> 779getNextPages</H3> 780<PRE> 781public int <B>getNextPages</B>()</PRE> 782<DL> 783<DD>The next page number we expect to receive. 784<P> 785<DD><DL> 786</DL> 787</DD> 788</DL> 789<HR> 790 791<A NAME="getWaitingPages()"><!-- --></A><H3> 792getWaitingPages</H3> 793<PRE> 794public int <B>getWaitingPages</B>()</PRE> 795<DL> 796<DD>The page number of the first page we have after missing pages being 797 waited for, or 0 if no pages are currently missing. 798<P> 799<DD><DL> 800</DL> 801</DD> 802</DL> 803<HR> 804 805<A NAME="getDupmasters()"><!-- --></A><H3> 806getDupmasters</H3> 807<PRE> 808public int <B>getDupmasters</B>()</PRE> 809<DL> 810<DD>The number of duplicate master conditions detected. 811<P> 812<DD><DL> 813</DL> 814</DD> 815</DL> 816<HR> 817 818<A NAME="getEnvId()"><!-- --></A><H3> 819getEnvId</H3> 820<PRE> 821public int <B>getEnvId</B>()</PRE> 822<DL> 823<DD>The current environment ID. 824<P> 825<DD><DL> 826</DL> 827</DD> 828</DL> 829<HR> 830 831<A NAME="getEnvPriority()"><!-- --></A><H3> 832getEnvPriority</H3> 833<PRE> 834public int <B>getEnvPriority</B>()</PRE> 835<DL> 836<DD>The current environment priority. 837<P> 838<DD><DL> 839</DL> 840</DD> 841</DL> 842<HR> 843 844<A NAME="getBulkFills()"><!-- --></A><H3> 845getBulkFills</H3> 846<PRE> 847public int <B>getBulkFills</B>()</PRE> 848<DL> 849<DD>The number of times the bulk buffer filled up, forcing the buffer content 850 to be sent. 851<P> 852<DD><DL> 853</DL> 854</DD> 855</DL> 856<HR> 857 858<A NAME="getBulkOverflows()"><!-- --></A><H3> 859getBulkOverflows</H3> 860<PRE> 861public int <B>getBulkOverflows</B>()</PRE> 862<DL> 863<DD>The number of times a record was bigger than the entire bulk buffer, 864 and therefore had to be sent as a singleton. 865<P> 866<DD><DL> 867</DL> 868</DD> 869</DL> 870<HR> 871 872<A NAME="getBulkRecords()"><!-- --></A><H3> 873getBulkRecords</H3> 874<PRE> 875public int <B>getBulkRecords</B>()</PRE> 876<DL> 877<DD>The number of records added to a bulk buffer. 878<P> 879<DD><DL> 880</DL> 881</DD> 882</DL> 883<HR> 884 885<A NAME="getBulkTransfers()"><!-- --></A><H3> 886getBulkTransfers</H3> 887<PRE> 888public int <B>getBulkTransfers</B>()</PRE> 889<DL> 890<DD>The number of bulk buffers transferred (via a call to the 891 application's <A HREF="../../../com/sleepycat/db/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(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, int, boolean, boolean, boolean, boolean)</CODE></A> method). 892<P> 893<DD><DL> 894</DL> 895</DD> 896</DL> 897<HR> 898 899<A NAME="getClientRerequests()"><!-- --></A><H3> 900getClientRerequests</H3> 901<PRE> 902public int <B>getClientRerequests</B>()</PRE> 903<DL> 904<DD>The number of times this client site received a "re-request" message, 905 indicating that a request it previously sent to another client could 906 not be serviced by that client. (Compare to <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getClientSvcMiss()"><CODE>getClientSvcMiss()</CODE></A>.) 907<P> 908<DD><DL> 909</DL> 910</DD> 911</DL> 912<HR> 913 914<A NAME="getClientSvcReq()"><!-- --></A><H3> 915getClientSvcReq</H3> 916<PRE> 917public int <B>getClientSvcReq</B>()</PRE> 918<DL> 919<DD>The number of "request" type messages received by this client. 920 ("Request" messages are usually sent from a client to the master, but 921 a message marked with <code>anywhere = true</code> in the 922 invocation of the application's <A HREF="../../../com/sleepycat/db/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(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, int, boolean, boolean, boolean, boolean)</CODE></A> 923 method may be sent to another client instead.) 924<P> 925<DD><DL> 926</DL> 927</DD> 928</DL> 929<HR> 930 931<A NAME="getClientSvcMiss()"><!-- --></A><H3> 932getClientSvcMiss</H3> 933<PRE> 934public int <B>getClientSvcMiss</B>()</PRE> 935<DL> 936<DD>The number of "request" type messages received by this client that 937 could not be processed, forcing the originating requestor to try 938 sending the request to the master (or another client). 939<P> 940<DD><DL> 941</DL> 942</DD> 943</DL> 944<HR> 945 946<A NAME="getGen()"><!-- --></A><H3> 947getGen</H3> 948<PRE> 949public int <B>getGen</B>()</PRE> 950<DL> 951<DD>The current generation number. 952<P> 953<DD><DL> 954</DL> 955</DD> 956</DL> 957<HR> 958 959<A NAME="getEgen()"><!-- --></A><H3> 960getEgen</H3> 961<PRE> 962public int <B>getEgen</B>()</PRE> 963<DL> 964<DD>The current election generation number. 965<P> 966<DD><DL> 967</DL> 968</DD> 969</DL> 970<HR> 971 972<A NAME="getLogDuplicated()"><!-- --></A><H3> 973getLogDuplicated</H3> 974<PRE> 975public int <B>getLogDuplicated</B>()</PRE> 976<DL> 977<DD>The number of duplicate log records received. 978<P> 979<DD><DL> 980</DL> 981</DD> 982</DL> 983<HR> 984 985<A NAME="getLogQueuedMax()"><!-- --></A><H3> 986getLogQueuedMax</H3> 987<PRE> 988public int <B>getLogQueuedMax</B>()</PRE> 989<DL> 990<DD>The maximum number of log records ever queued at once. 991<P> 992<DD><DL> 993</DL> 994</DD> 995</DL> 996<HR> 997 998<A NAME="getLogQueuedTotal()"><!-- --></A><H3> 999getLogQueuedTotal</H3> 1000<PRE> 1001public int <B>getLogQueuedTotal</B>()</PRE> 1002<DL> 1003<DD>The total number of log records queued. 1004<P> 1005<DD><DL> 1006</DL> 1007</DD> 1008</DL> 1009<HR> 1010 1011<A NAME="getLogRecords()"><!-- --></A><H3> 1012getLogRecords</H3> 1013<PRE> 1014public int <B>getLogRecords</B>()</PRE> 1015<DL> 1016<DD>The number of log records received and appended to the log. 1017<P> 1018<DD><DL> 1019</DL> 1020</DD> 1021</DL> 1022<HR> 1023 1024<A NAME="getLogRequested()"><!-- --></A><H3> 1025getLogRequested</H3> 1026<PRE> 1027public int <B>getLogRequested</B>()</PRE> 1028<DL> 1029<DD>The number of log records missed and requested. 1030<P> 1031<DD><DL> 1032</DL> 1033</DD> 1034</DL> 1035<HR> 1036 1037<A NAME="getMaster()"><!-- --></A><H3> 1038getMaster</H3> 1039<PRE> 1040public int <B>getMaster</B>()</PRE> 1041<DL> 1042<DD>The current master environment ID. 1043<P> 1044<DD><DL> 1045</DL> 1046</DD> 1047</DL> 1048<HR> 1049 1050<A NAME="getMasterChanges()"><!-- --></A><H3> 1051getMasterChanges</H3> 1052<PRE> 1053public int <B>getMasterChanges</B>()</PRE> 1054<DL> 1055<DD>The number of times the master has changed. 1056<P> 1057<DD><DL> 1058</DL> 1059</DD> 1060</DL> 1061<HR> 1062 1063<A NAME="getMsgsBadgen()"><!-- --></A><H3> 1064getMsgsBadgen</H3> 1065<PRE> 1066public int <B>getMsgsBadgen</B>()</PRE> 1067<DL> 1068<DD>The number of messages received with a bad generation number. 1069<P> 1070<DD><DL> 1071</DL> 1072</DD> 1073</DL> 1074<HR> 1075 1076<A NAME="getMsgsProcessed()"><!-- --></A><H3> 1077getMsgsProcessed</H3> 1078<PRE> 1079public int <B>getMsgsProcessed</B>()</PRE> 1080<DL> 1081<DD>The number of messages received and processed. 1082<P> 1083<DD><DL> 1084</DL> 1085</DD> 1086</DL> 1087<HR> 1088 1089<A NAME="getMsgsRecover()"><!-- --></A><H3> 1090getMsgsRecover</H3> 1091<PRE> 1092public int <B>getMsgsRecover</B>()</PRE> 1093<DL> 1094<DD>The number of messages ignored due to pending recovery. 1095<P> 1096<DD><DL> 1097</DL> 1098</DD> 1099</DL> 1100<HR> 1101 1102<A NAME="getMsgsSendFailures()"><!-- --></A><H3> 1103getMsgsSendFailures</H3> 1104<PRE> 1105public int <B>getMsgsSendFailures</B>()</PRE> 1106<DL> 1107<DD>The number of failed message sends. 1108<P> 1109<DD><DL> 1110</DL> 1111</DD> 1112</DL> 1113<HR> 1114 1115<A NAME="getMsgsSent()"><!-- --></A><H3> 1116getMsgsSent</H3> 1117<PRE> 1118public int <B>getMsgsSent</B>()</PRE> 1119<DL> 1120<DD>The number of messages sent. 1121<P> 1122<DD><DL> 1123</DL> 1124</DD> 1125</DL> 1126<HR> 1127 1128<A NAME="getNewsites()"><!-- --></A><H3> 1129getNewsites</H3> 1130<PRE> 1131public int <B>getNewsites</B>()</PRE> 1132<DL> 1133<DD>The number of new site messages received. 1134<P> 1135<DD><DL> 1136</DL> 1137</DD> 1138</DL> 1139<HR> 1140 1141<A NAME="getNumSites()"><!-- --></A><H3> 1142getNumSites</H3> 1143<PRE> 1144public int <B>getNumSites</B>()</PRE> 1145<DL> 1146<DD>The number of sites believed to be in the replication group. 1147<P> 1148<DD><DL> 1149</DL> 1150</DD> 1151</DL> 1152<HR> 1153 1154<A NAME="getNumThrottles()"><!-- --></A><H3> 1155getNumThrottles</H3> 1156<PRE> 1157public int <B>getNumThrottles</B>()</PRE> 1158<DL> 1159<DD>Transmission limited. This indicates the number of times data 1160 transmission was stopped to limit the amount of data sent in response to 1161 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>. 1162<P> 1163<DD><DL> 1164</DL> 1165</DD> 1166</DL> 1167<HR> 1168 1169<A NAME="getOutdated()"><!-- --></A><H3> 1170getOutdated</H3> 1171<PRE> 1172public int <B>getOutdated</B>()</PRE> 1173<DL> 1174<DD>The number of outdated conditions detected. 1175<P> 1176<DD><DL> 1177</DL> 1178</DD> 1179</DL> 1180<HR> 1181 1182<A NAME="getPagesDuplicated()"><!-- --></A><H3> 1183getPagesDuplicated</H3> 1184<PRE> 1185public int <B>getPagesDuplicated</B>()</PRE> 1186<DL> 1187<DD>The number of duplicate pages received. 1188<P> 1189<DD><DL> 1190</DL> 1191</DD> 1192</DL> 1193<HR> 1194 1195<A NAME="getPagesRecords()"><!-- --></A><H3> 1196getPagesRecords</H3> 1197<PRE> 1198public int <B>getPagesRecords</B>()</PRE> 1199<DL> 1200<DD>The number of pages received and stored. 1201<P> 1202<DD><DL> 1203</DL> 1204</DD> 1205</DL> 1206<HR> 1207 1208<A NAME="getPagesRequested()"><!-- --></A><H3> 1209getPagesRequested</H3> 1210<PRE> 1211public int <B>getPagesRequested</B>()</PRE> 1212<DL> 1213<DD>The number of pages missed and requested from the master. 1214<P> 1215<DD><DL> 1216</DL> 1217</DD> 1218</DL> 1219<HR> 1220 1221<A NAME="getTxnsApplied()"><!-- --></A><H3> 1222getTxnsApplied</H3> 1223<PRE> 1224public int <B>getTxnsApplied</B>()</PRE> 1225<DL> 1226<DD>The number of transactions applied. 1227<P> 1228<DD><DL> 1229</DL> 1230</DD> 1231</DL> 1232<HR> 1233 1234<A NAME="getStartSyncDelayed()"><!-- --></A><H3> 1235getStartSyncDelayed</H3> 1236<PRE> 1237public int <B>getStartSyncDelayed</B>()</PRE> 1238<DL> 1239<DD>The number of times the client had to delay the start of a cache flush 1240 operation (initiated by the master for an impending checkpoint) because it 1241 was missing some previous log record(s). 1242<P> 1243<DD><DL> 1244</DL> 1245</DD> 1246</DL> 1247<HR> 1248 1249<A NAME="getElections()"><!-- --></A><H3> 1250getElections</H3> 1251<PRE> 1252public int <B>getElections</B>()</PRE> 1253<DL> 1254<DD>The number of elections held. 1255<P> 1256<DD><DL> 1257</DL> 1258</DD> 1259</DL> 1260<HR> 1261 1262<A NAME="getElectionsWon()"><!-- --></A><H3> 1263getElectionsWon</H3> 1264<PRE> 1265public int <B>getElectionsWon</B>()</PRE> 1266<DL> 1267<DD>The number of elections won. 1268<P> 1269<DD><DL> 1270</DL> 1271</DD> 1272</DL> 1273<HR> 1274 1275<A NAME="getElectionCurWinner()"><!-- --></A><H3> 1276getElectionCurWinner</H3> 1277<PRE> 1278public int <B>getElectionCurWinner</B>()</PRE> 1279<DL> 1280<DD>The election winner. 1281<P> 1282<DD><DL> 1283</DL> 1284</DD> 1285</DL> 1286<HR> 1287 1288<A NAME="getElectionGen()"><!-- --></A><H3> 1289getElectionGen</H3> 1290<PRE> 1291public int <B>getElectionGen</B>()</PRE> 1292<DL> 1293<DD>The election generation number. 1294<P> 1295<DD><DL> 1296</DL> 1297</DD> 1298</DL> 1299<HR> 1300 1301<A NAME="getElectionLsn()"><!-- --></A><H3> 1302getElectionLsn</H3> 1303<PRE> 1304public <A HREF="../../../com/sleepycat/db/LogSequenceNumber.html" title="class in com.sleepycat.db">LogSequenceNumber</A> <B>getElectionLsn</B>()</PRE> 1305<DL> 1306<DD>The maximum LSN of election winner. 1307<P> 1308<DD><DL> 1309</DL> 1310</DD> 1311</DL> 1312<HR> 1313 1314<A NAME="getElectionNumSites()"><!-- --></A><H3> 1315getElectionNumSites</H3> 1316<PRE> 1317public int <B>getElectionNumSites</B>()</PRE> 1318<DL> 1319<DD>The number sites expected to participate in elections. 1320<P> 1321<DD><DL> 1322</DL> 1323</DD> 1324</DL> 1325<HR> 1326 1327<A NAME="getElectionNumVotes()"><!-- --></A><H3> 1328getElectionNumVotes</H3> 1329<PRE> 1330public int <B>getElectionNumVotes</B>()</PRE> 1331<DL> 1332<DD>The number of votes required to complete the election. 1333<P> 1334<DD><DL> 1335</DL> 1336</DD> 1337</DL> 1338<HR> 1339 1340<A NAME="getElectionPriority()"><!-- --></A><H3> 1341getElectionPriority</H3> 1342<PRE> 1343public int <B>getElectionPriority</B>()</PRE> 1344<DL> 1345<DD>The election priority. 1346<P> 1347<DD><DL> 1348</DL> 1349</DD> 1350</DL> 1351<HR> 1352 1353<A NAME="getElectionStatus()"><!-- --></A><H3> 1354getElectionStatus</H3> 1355<PRE> 1356public int <B>getElectionStatus</B>()</PRE> 1357<DL> 1358<DD>The current election phase (0 if no election is in progress). 1359<P> 1360<DD><DL> 1361</DL> 1362</DD> 1363</DL> 1364<HR> 1365 1366<A NAME="getElectionTiebreaker()"><!-- --></A><H3> 1367getElectionTiebreaker</H3> 1368<PRE> 1369public int <B>getElectionTiebreaker</B>()</PRE> 1370<DL> 1371<DD>The election tiebreaker value. 1372<P> 1373<DD><DL> 1374</DL> 1375</DD> 1376</DL> 1377<HR> 1378 1379<A NAME="getElectionVotes()"><!-- --></A><H3> 1380getElectionVotes</H3> 1381<PRE> 1382public int <B>getElectionVotes</B>()</PRE> 1383<DL> 1384<DD>The votes received this election round. 1385<P> 1386<DD><DL> 1387</DL> 1388</DD> 1389</DL> 1390<HR> 1391 1392<A NAME="getElectionSec()"><!-- --></A><H3> 1393getElectionSec</H3> 1394<PRE> 1395public int <B>getElectionSec</B>()</PRE> 1396<DL> 1397<DD>The number of seconds the last election took (the total election 1398 time is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionUsec()"><CODE>getElectionUsec()</CODE></A>). 1399<P> 1400<DD><DL> 1401</DL> 1402</DD> 1403</DL> 1404<HR> 1405 1406<A NAME="getElectionUsec()"><!-- --></A><H3> 1407getElectionUsec</H3> 1408<PRE> 1409public int <B>getElectionUsec</B>()</PRE> 1410<DL> 1411<DD>The number of microseconds the last election took (the total election 1412 time is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getElectionSec()"><CODE>getElectionSec()</CODE></A>). 1413<P> 1414<DD><DL> 1415</DL> 1416</DD> 1417</DL> 1418<HR> 1419 1420<A NAME="getMaxLeaseSec()"><!-- --></A><H3> 1421getMaxLeaseSec</H3> 1422<PRE> 1423public int <B>getMaxLeaseSec</B>()</PRE> 1424<DL> 1425<DD>The number of seconds of the longest lease (the total lease time 1426 is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxLeaseUsec()"><CODE>getMaxLeaseUsec()</CODE></A>). 1427<P> 1428<DD><DL> 1429</DL> 1430</DD> 1431</DL> 1432<HR> 1433 1434<A NAME="getMaxLeaseUsec()"><!-- --></A><H3> 1435getMaxLeaseUsec</H3> 1436<PRE> 1437public int <B>getMaxLeaseUsec</B>()</PRE> 1438<DL> 1439<DD>The number of microseconds of the longest lease (the total lease 1440 time is this plus <A HREF="../../../com/sleepycat/db/ReplicationStats.html#getMaxLeaseSec()"><CODE>getMaxLeaseSec()</CODE></A>). 1441<P> 1442<DD><DL> 1443</DL> 1444</DD> 1445</DL> 1446<HR> 1447 1448<A NAME="toString()"><!-- --></A><H3> 1449toString</H3> 1450<PRE> 1451public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toString</B>()</PRE> 1452<DL> 1453<DD>For convenience, the ReplicationStats class has a toString method 1454 that lists all the data fields. 1455<P> 1456<DD><DL> 1457<DT><B>Overrides:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html#toString()" title="class or interface in java.lang">toString</A></CODE> in class <CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A></CODE></DL> 1458</DD> 1459<DD><DL> 1460</DL> 1461</DD> 1462</DL> 1463<!-- ========= END OF CLASS DATA ========= --> 1464<HR> 1465 1466 1467<!-- ======= START OF BOTTOM NAVBAR ====== --> 1468<A NAME="navbar_bottom"><!-- --></A> 1469<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> 1470<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> 1471<TR> 1472<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> 1473<A NAME="navbar_bottom_firstrow"><!-- --></A> 1474<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> 1475 <TR ALIGN="center" VALIGN="top"> 1476 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> 1477 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> 1478 <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> 1479 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/ReplicationStats.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 1480 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> 1481 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> 1482 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> 1483 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> 1484 </TR> 1485</TABLE> 1486</TD> 1487<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> 1488<b>Berkeley DB</b><br><font size="-1"> version 4.7.25</font></EM> 1489</TD> 1490</TR> 1491 1492<TR> 1493<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1494 <A HREF="../../../com/sleepycat/db/ReplicationSiteUnavailableException.html" title="class in com.sleepycat.db"><B>PREV CLASS</B></A> 1495 <A HREF="../../../com/sleepycat/db/ReplicationStatus.html" title="class in com.sleepycat.db"><B>NEXT CLASS</B></A></FONT></TD> 1496<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> 1497 <A HREF="../../../index.html?com/sleepycat/db/ReplicationStats.html" target="_top"><B>FRAMES</B></A> 1498 <A HREF="ReplicationStats.html" target="_top"><B>NO FRAMES</B></A> 1499 <SCRIPT type="text/javascript"> 1500 <!-- 1501 if(window==top) { 1502 document.writeln('<A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A>'); 1503 } 1504 //--> 1505</SCRIPT> 1506<NOSCRIPT> 1507 <A HREF="../../../allclasses-noframe.html"><B>All Classes</B></A> 1508</NOSCRIPT> 1509 1510 1511</FONT></TD> 1512</TR> 1513<TR> 1514<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1515 SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD> 1516<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> 1517DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD> 1518</TR> 1519</TABLE> 1520<A NAME="skip-navbar_bottom"></A> 1521<!-- ======== END OF BOTTOM NAVBAR ======= --> 1522 1523<HR> 1524<font size=1>Copyright (c) 1996,2008 Oracle. All rights reserved.</font> 1525</BODY> 1526</HTML> 1527