• Home
  • History
  • Annotate
  • Line#
  • Navigate
  • Raw
  • Download
  • only in /asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/router/db-4.8.30/java/src/com/sleepycat/db/
1/*-
2 * Automatically built by dist/s_java_stat.
3 * Only the javadoc comments can be edited.
4 *
5 * See the file LICENSE for redistribution information.
6 *
7 * Copyright (c) 2002-2009 Oracle.  All rights reserved.
8 */
9
10package com.sleepycat.db;
11
12/**
13Replication Manager statistics for a database environment.
14*/
15public class ReplicationManagerStats {
16    // no public constructor
17    /* package */ ReplicationManagerStats() {}
18
19    private long st_perm_failed;
20    /** TODO */
21    public long getPermFailed() {
22        return st_perm_failed;
23    }
24
25    private long st_msgs_queued;
26    /** TODO */
27    public long getMsgsQueued() {
28        return st_msgs_queued;
29    }
30
31    private long st_msgs_dropped;
32    /** TODO */
33    public long getMsgsDropped() {
34        return st_msgs_dropped;
35    }
36
37    private long st_connection_drop;
38    /** TODO */
39    public long getConnectionDrop() {
40        return st_connection_drop;
41    }
42
43    private long st_connect_fail;
44    /** TODO */
45    public long getConnectFail() {
46        return st_connect_fail;
47    }
48
49    /**
50    For convenience, the ReplicationManagerStats class has a toString method
51    that lists all the data fields.
52    */
53    public String toString() {
54        return "ReplicationManagerStats:"
55            + "\n  st_perm_failed=" + st_perm_failed
56            + "\n  st_msgs_queued=" + st_msgs_queued
57            + "\n  st_msgs_dropped=" + st_msgs_dropped
58            + "\n  st_connection_drop=" + st_connection_drop
59            + "\n  st_connect_fail=" + st_connect_fail
60            ;
61    }
62}
63