00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 package com.sleepycat.db;
00011
00012 public class ReplicationStats {
00013
00014 protected ReplicationStats() {}
00015
00016 private int st_status;
00017 public int getStatus() {
00018 return st_status;
00019 }
00020
00021 private LogSequenceNumber st_next_lsn;
00022 public LogSequenceNumber getNextLsn() {
00023 return st_next_lsn;
00024 }
00025
00026 private LogSequenceNumber st_waiting_lsn;
00027 public LogSequenceNumber getWaitingLsn() {
00028 return st_waiting_lsn;
00029 }
00030
00031 private int st_next_pg;
00032 public int getNextPages() {
00033 return st_next_pg;
00034 }
00035
00036 private int st_waiting_pg;
00037 public int getWaitingPages() {
00038 return st_waiting_pg;
00039 }
00040
00041 private int st_dupmasters;
00042 public int getDupmasters() {
00043 return st_dupmasters;
00044 }
00045
00046 private int st_env_id;
00047 public int getEnvId() {
00048 return st_env_id;
00049 }
00050
00051 private int st_env_priority;
00052 public int getEnvPriority() {
00053 return st_env_priority;
00054 }
00055
00056 private int st_bulk_fills;
00057 public int getBulkFills() {
00058 return st_bulk_fills;
00059 }
00060
00061 private int st_bulk_overflows;
00062 public int getBulkOverflows() {
00063 return st_bulk_overflows;
00064 }
00065
00066 private int st_bulk_records;
00067 public int getBulkRecords() {
00068 return st_bulk_records;
00069 }
00070
00071 private int st_bulk_transfers;
00072 public int getBulkTransfers() {
00073 return st_bulk_transfers;
00074 }
00075
00076 private int st_client_rerequests;
00077 public int getClientRerequests() {
00078 return st_client_rerequests;
00079 }
00080
00081 private int st_client_svc_req;
00082 public int getClientSvcReq() {
00083 return st_client_svc_req;
00084 }
00085
00086 private int st_client_svc_miss;
00087 public int getClientSvcMiss() {
00088 return st_client_svc_miss;
00089 }
00090
00091 private int st_gen;
00092 public int getGen() {
00093 return st_gen;
00094 }
00095
00096 private int st_egen;
00097 public int getEgen() {
00098 return st_egen;
00099 }
00100
00101 private int st_log_duplicated;
00102 public int getLogDuplicated() {
00103 return st_log_duplicated;
00104 }
00105
00106 private int st_log_queued;
00107 public int getLogQueued() {
00108 return st_log_queued;
00109 }
00110
00111 private int st_log_queued_max;
00112 public int getLogQueuedMax() {
00113 return st_log_queued_max;
00114 }
00115
00116 private int st_log_queued_total;
00117 public int getLogQueuedTotal() {
00118 return st_log_queued_total;
00119 }
00120
00121 private int st_log_records;
00122 public int getLogRecords() {
00123 return st_log_records;
00124 }
00125
00126 private int st_log_requested;
00127 public int getLogRequested() {
00128 return st_log_requested;
00129 }
00130
00131 private int st_master;
00132 public int getMaster() {
00133 return st_master;
00134 }
00135
00136 private int st_master_changes;
00137 public int getMasterChanges() {
00138 return st_master_changes;
00139 }
00140
00141 private int st_msgs_badgen;
00142 public int getMsgsBadgen() {
00143 return st_msgs_badgen;
00144 }
00145
00146 private int st_msgs_processed;
00147 public int getMsgsProcessed() {
00148 return st_msgs_processed;
00149 }
00150
00151 private int st_msgs_recover;
00152 public int getMsgsRecover() {
00153 return st_msgs_recover;
00154 }
00155
00156 private int st_msgs_send_failures;
00157 public int getMsgsSendFailures() {
00158 return st_msgs_send_failures;
00159 }
00160
00161 private int st_msgs_sent;
00162 public int getMsgsSent() {
00163 return st_msgs_sent;
00164 }
00165
00166 private int st_newsites;
00167 public int getNewsites() {
00168 return st_newsites;
00169 }
00170
00171 private int st_nsites;
00172 public int getNumSites() {
00173 return st_nsites;
00174 }
00175
00176 private int st_nthrottles;
00177 public int getNumThrottles() {
00178 return st_nthrottles;
00179 }
00180
00181 private int st_outdated;
00182 public int getOutdated() {
00183 return st_outdated;
00184 }
00185
00186 private int st_pg_duplicated;
00187 public int getPagesDuplicated() {
00188 return st_pg_duplicated;
00189 }
00190
00191 private int st_pg_records;
00192 public int getPagesRecords() {
00193 return st_pg_records;
00194 }
00195
00196 private int st_pg_requested;
00197 public int getPagesRequested() {
00198 return st_pg_requested;
00199 }
00200
00201 private int st_startup_complete;
00202 public int getStartupComplete() {
00203 return st_startup_complete;
00204 }
00205
00206 private int st_txns_applied;
00207 public int getTxnsApplied() {
00208 return st_txns_applied;
00209 }
00210
00211 private int st_elections;
00212 public int getElections() {
00213 return st_elections;
00214 }
00215
00216 private int st_elections_won;
00217 public int getElectionsWon() {
00218 return st_elections_won;
00219 }
00220
00221 private int st_election_cur_winner;
00222 public int getElectionCurWinner() {
00223 return st_election_cur_winner;
00224 }
00225
00226 private int st_election_gen;
00227 public int getElectionGen() {
00228 return st_election_gen;
00229 }
00230
00231 private LogSequenceNumber st_election_lsn;
00232 public LogSequenceNumber getElectionLsn() {
00233 return st_election_lsn;
00234 }
00235
00236 private int st_election_nsites;
00237 public int getElectionNumSites() {
00238 return st_election_nsites;
00239 }
00240
00241 private int st_election_nvotes;
00242 public int getElectionNumVotes() {
00243 return st_election_nvotes;
00244 }
00245
00246 private int st_election_priority;
00247 public int getElectionPriority() {
00248 return st_election_priority;
00249 }
00250
00251 private int st_election_status;
00252 public int getElectionStatus() {
00253 return st_election_status;
00254 }
00255
00256 private int st_election_tiebreaker;
00257 public int getElectionTiebreaker() {
00258 return st_election_tiebreaker;
00259 }
00260
00261 private int st_election_votes;
00262 public int getElectionVotes() {
00263 return st_election_votes;
00264 }
00265
00266 private int st_election_sec;
00267 public int getElectionSec() {
00268 return st_election_sec;
00269 }
00270
00271 private int st_election_usec;
00272 public int getElectionUsec() {
00273 return st_election_usec;
00274 }
00275
00276 public String toString() {
00277 return "ReplicationStats:"
00278 + "\n st_status=" + st_status
00279 + "\n st_next_lsn=" + st_next_lsn
00280 + "\n st_waiting_lsn=" + st_waiting_lsn
00281 + "\n st_next_pg=" + st_next_pg
00282 + "\n st_waiting_pg=" + st_waiting_pg
00283 + "\n st_dupmasters=" + st_dupmasters
00284 + "\n st_env_id=" + st_env_id
00285 + "\n st_env_priority=" + st_env_priority
00286 + "\n st_bulk_fills=" + st_bulk_fills
00287 + "\n st_bulk_overflows=" + st_bulk_overflows
00288 + "\n st_bulk_records=" + st_bulk_records
00289 + "\n st_bulk_transfers=" + st_bulk_transfers
00290 + "\n st_client_rerequests=" + st_client_rerequests
00291 + "\n st_client_svc_req=" + st_client_svc_req
00292 + "\n st_client_svc_miss=" + st_client_svc_miss
00293 + "\n st_gen=" + st_gen
00294 + "\n st_egen=" + st_egen
00295 + "\n st_log_duplicated=" + st_log_duplicated
00296 + "\n st_log_queued=" + st_log_queued
00297 + "\n st_log_queued_max=" + st_log_queued_max
00298 + "\n st_log_queued_total=" + st_log_queued_total
00299 + "\n st_log_records=" + st_log_records
00300 + "\n st_log_requested=" + st_log_requested
00301 + "\n st_master=" + st_master
00302 + "\n st_master_changes=" + st_master_changes
00303 + "\n st_msgs_badgen=" + st_msgs_badgen
00304 + "\n st_msgs_processed=" + st_msgs_processed
00305 + "\n st_msgs_recover=" + st_msgs_recover
00306 + "\n st_msgs_send_failures=" + st_msgs_send_failures
00307 + "\n st_msgs_sent=" + st_msgs_sent
00308 + "\n st_newsites=" + st_newsites
00309 + "\n st_nsites=" + st_nsites
00310 + "\n st_nthrottles=" + st_nthrottles
00311 + "\n st_outdated=" + st_outdated
00312 + "\n st_pg_duplicated=" + st_pg_duplicated
00313 + "\n st_pg_records=" + st_pg_records
00314 + "\n st_pg_requested=" + st_pg_requested
00315 + "\n st_startup_complete=" + st_startup_complete
00316 + "\n st_txns_applied=" + st_txns_applied
00317 + "\n st_elections=" + st_elections
00318 + "\n st_elections_won=" + st_elections_won
00319 + "\n st_election_cur_winner=" + st_election_cur_winner
00320 + "\n st_election_gen=" + st_election_gen
00321 + "\n st_election_lsn=" + st_election_lsn
00322 + "\n st_election_nsites=" + st_election_nsites
00323 + "\n st_election_nvotes=" + st_election_nvotes
00324 + "\n st_election_priority=" + st_election_priority
00325 + "\n st_election_status=" + st_election_status
00326 + "\n st_election_tiebreaker=" + st_election_tiebreaker
00327 + "\n st_election_votes=" + st_election_votes
00328 + "\n st_election_sec=" + st_election_sec
00329 + "\n st_election_usec=" + st_election_usec
00330 ;
00331 }
00332 }