diff options
Diffstat (limited to 'lang/csharp/src/RepMgrStats.cs')
-rw-r--r-- | lang/csharp/src/RepMgrStats.cs | 41 |
1 files changed, 34 insertions, 7 deletions
diff --git a/lang/csharp/src/RepMgrStats.cs b/lang/csharp/src/RepMgrStats.cs index 1d5cbcab..1b748235 100644 --- a/lang/csharp/src/RepMgrStats.cs +++ b/lang/csharp/src/RepMgrStats.cs @@ -1,7 +1,7 @@ /*- * See the file LICENSE for redistribution information. * - * Copyright (c) 2009, 2012 Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2009, 2015 Oracle and/or its affiliates. All rights reserved. * */ using System; @@ -17,13 +17,16 @@ namespace BerkeleyDB { internal RepMgrStats(Internal.RepMgrStatStruct stats) { st = stats; } - + /// <summary> + /// Number of automatic replication process takeovers. + /// </summary> + public ulong AutoTakeovers { get { return st.st_takeovers; } } /// <summary> /// Existing connections dropped. /// </summary> public ulong DroppedConnections { get { return st.st_connection_drop; } } /// <summary> - /// # msgs discarded due to excessive queue length. + /// Number of messages discarded due to excessive queue length. /// </summary> public ulong DroppedMessages { get { return st.st_msgs_dropped; } } /// <summary> @@ -31,21 +34,45 @@ namespace BerkeleyDB { /// </summary> public ulong FailedConnections { get { return st.st_connect_fail; } } /// <summary> - /// # of insufficiently ack'ed msgs. + /// Number of insufficiently acknowledged messages. /// </summary> public ulong FailedMessages { get { return st.st_perm_failed; } } /// <summary> - /// # msgs queued for network delay. + /// Number of messages queued for network delay. /// </summary> public ulong QueuedMessages { get { return st.st_msgs_queued; } } /// <summary> + /// Incoming queue size: Gigabytes. + /// </summary> + public ulong IncomingQueueGBytes { get { return st.st_incoming_queue_gbytes; } } + /// <summary> + /// Incoming queue size: Gytes. + /// </summary> + public ulong IncomingQueueBytes { get { return st.st_incoming_queue_bytes; } } + /// <summary> + /// Number of msgs discarded due to incoming queue full. + /// </summary> + public ulong IncomingDroppedMessages { get { return st.st_incoming_msgs_dropped; } } + /// <summary> /// Number of currently active election threads /// </summary> - public ulong ElectionThreads { get { return st.st_elect_threads; } } + public uint ElectionThreads { get { return st.st_elect_threads; } } /// <summary> /// Election threads for which space is reserved /// </summary> - public ulong MaxElectionThreads { get { return st.st_max_elect_threads; } } + public uint MaxElectionThreads { get { return st.st_max_elect_threads; } } + /// <summary> + /// Number of replication group participant sites. + /// </summary> + public uint ParticipantSites { get { return st.st_site_participants; } } + /// <summary> + /// Total number of replication group sites. + /// </summary> + public uint TotalSites { get { return st.st_site_total; } } + /// <summary> + /// Number of replication group view sites. + /// </summary> + public uint ViewSites { get { return st.st_site_views; } } } } |