/*- * See the file LICENSE for redistribution information. * * Copyright (c) 2009 Oracle. All rights reserved. * */ using System; using System.Collections.Generic; using System.Text; namespace BerkeleyDB { /// /// Statistical information about the Replication Manager /// public class RepMgrStats { private Internal.RepMgrStatStruct st; internal RepMgrStats(Internal.RepMgrStatStruct stats) { st = stats; } /// /// Existing connections dropped. /// public ulong DroppedConnections { get { return st.st_connection_drop; } } /// /// # msgs discarded due to excessive queue length. /// public ulong DroppedMessages { get { return st.st_msgs_dropped; } } /// /// Failed new connection attempts. /// public ulong FailedConnections { get { return st.st_connect_fail; } } /// /// # of insufficiently ack'ed msgs. /// public ulong FailedMessages { get { return st.st_perm_failed; } } /// /// # msgs queued for network delay. /// public ulong QueuedMessages { get { return st.st_msgs_queued; } } } }