|
|
|
Berkeley DB version 4.4.20 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.ReplicationStats
Replication statistics for a database environment.
Method Summary | |
int |
getBulkFills()
The number of times the bulk buffer filled up, forcing the buffer content to be sent. |
int |
getBulkOverflows()
The number of times a record was bigger than the entire bulk buffer, and therefore had to be sent as a singleton. |
int |
getBulkRecords()
The number of records added to a bulk buffer. |
int |
getBulkTransfers()
The number of bulk buffers transferred (via a call to the application's ReplicationTransport.send(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, int, boolean, boolean, boolean, boolean) method). |
int |
getClientRerequests()
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. |
int |
getClientSvcMiss()
The number of "request" type messages received by this client that could not be processed, forcing the originating requestor to try sending the request to the master (or another client). |
int |
getClientSvcReq()
The number of "request" type messages received by this client. |
int |
getDupmasters()
The number of duplicate master conditions detected. |
int |
getEgen()
The current election generation number. |
int |
getElectionCurWinner()
The election winner. |
int |
getElectionGen()
The election generation number. |
LogSequenceNumber |
getElectionLsn()
The maximum LSN of election winner. |
int |
getElectionNumSites()
The number sites expected to participate in elections. |
int |
getElectionNumVotes()
The number of votes required to complete the election. |
int |
getElectionPriority()
The election priority. |
int |
getElections()
The number of elections held. |
int |
getElectionSec()
The number of seconds the last election took (the total election time is this plus getElectionUsec() ). |
int |
getElectionStatus()
The current election phase (0 if no election is in progress). |
int |
getElectionsWon()
The number of elections won. |
int |
getElectionTiebreaker()
The election tiebreaker value. |
int |
getElectionUsec()
The number of microseconds the last election took (the total election time is this plus getElectionSec() ). |
int |
getElectionVotes()
The votes received this election round. |
int |
getEnvId()
The current environment ID. |
int |
getEnvPriority()
The current environment priority. |
int |
getGen()
The current generation number. |
int |
getLogDuplicated()
The number of duplicate log records received. |
int |
getLogQueued()
The number of log records currently queued. |
int |
getLogQueuedMax()
The maximum number of log records ever queued at once. |
int |
getLogQueuedTotal()
The total number of log records queued. |
int |
getLogRecords()
The number of log records received and appended to the log. |
int |
getLogRequested()
The number of log records missed and requested. |
int |
getMaster()
The current master environment ID. |
int |
getMasterChanges()
The number of times the master has changed. |
int |
getMsgsBadgen()
The number of messages received with a bad generation number. |
int |
getMsgsProcessed()
The number of messages received and processed. |
int |
getMsgsRecover()
The number of messages ignored due to pending recovery. |
int |
getMsgsSendFailures()
The number of failed message sends. |
int |
getMsgsSent()
The number of messages sent. |
int |
getNewsites()
The number of new site messages received. |
LogSequenceNumber |
getNextLsn()
In replication environments configured as masters, the next LSN expected. |
int |
getNextPages()
The next page number we expect to receive. |
int |
getNumSites()
The number of sites believed to be in the replication group. |
int |
getNumThrottles()
Transmission limited. |
int |
getOutdated()
The number of outdated conditions detected. |
int |
getPagesDuplicated()
The number of duplicate pages received. |
int |
getPagesRecords()
The number of pages received and stored. |
int |
getPagesRequested()
The number of pages missed and requested from the master. |
int |
getStartupComplete()
The client site has completed its startup procedures and is now handling live records from the master. |
int |
getStatus()
The current replication mode. |
int |
getTxnsApplied()
The number of transactions applied. |
LogSequenceNumber |
getWaitingLsn()
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. |
int |
getWaitingPages()
The page number of the first page we have after missing pages being waited for, or 0 if no pages are currently missing. |
String |
toString()
For convenience, the ReplicationStats class has a toString method that lists all the data fields. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
public int getStatus()
public LogSequenceNumber getNextLsn()
public LogSequenceNumber getWaitingLsn()
public int getNextPages()
public int getWaitingPages()
public int getDupmasters()
public int getEnvId()
public int getEnvPriority()
public int getBulkFills()
public int getBulkOverflows()
public int getBulkRecords()
public int getBulkTransfers()
ReplicationTransport.send(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, int, boolean, boolean, boolean, boolean)
method).
public int getClientRerequests()
getClientSvcMiss()
.)
public int getClientSvcReq()
anywhere = true
in the
invocation of the application's ReplicationTransport.send(com.sleepycat.db.Environment, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.DatabaseEntry, com.sleepycat.db.LogSequenceNumber, int, boolean, boolean, boolean, boolean)
method may be sent to another client instead.)
public int getClientSvcMiss()
public int getGen()
public int getEgen()
public int getLogDuplicated()
public int getLogQueued()
public int getLogQueuedMax()
public int getLogQueuedTotal()
public int getLogRecords()
public int getLogRequested()
public int getMaster()
public int getMasterChanges()
public int getMsgsBadgen()
public int getMsgsProcessed()
public int getMsgsRecover()
public int getMsgsSendFailures()
public int getMsgsSent()
public int getNewsites()
public int getNumSites()
public int getNumThrottles()
Environment.processReplicationMessage
.
public int getOutdated()
public int getPagesDuplicated()
public int getPagesRecords()
public int getPagesRequested()
public int getStartupComplete()
public int getTxnsApplied()
public int getElections()
public int getElectionsWon()
public int getElectionCurWinner()
public int getElectionGen()
public LogSequenceNumber getElectionLsn()
public int getElectionNumSites()
public int getElectionNumVotes()
public int getElectionPriority()
public int getElectionStatus()
public int getElectionTiebreaker()
public int getElectionVotes()
public int getElectionSec()
getElectionUsec()
).
public int getElectionUsec()
getElectionSec()
).
public String toString()
|
Berkeley DB version 4.4.20 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |