summaryrefslogtreecommitdiff
path: root/lang/csharp/src/RepMgrStats.cs
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2015-02-17 17:25:57 +0000
committer <>2015-03-17 16:26:24 +0000
commit780b92ada9afcf1d58085a83a0b9e6bc982203d1 (patch)
tree598f8b9fa431b228d29897e798de4ac0c1d3d970 /lang/csharp/src/RepMgrStats.cs
parent7a2660ba9cc2dc03a69ddfcfd95369395cc87444 (diff)
downloadberkeleydb-master.tar.gz
Imported from /home/lorry/working-area/delta_berkeleydb/db-6.1.23.tar.gz.HEADdb-6.1.23master
Diffstat (limited to 'lang/csharp/src/RepMgrStats.cs')
-rw-r--r--lang/csharp/src/RepMgrStats.cs41
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; } }
}
}