Added a count of how many socket events we see (sockets reporting ACCEPTable or

READable), tidied up some other bits.


git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5534 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2008-11-11 00:31:31 +00:00
parent 96ae821e58
commit 22762a5aa9
2 changed files with 28 additions and 18 deletions
@@ -43,6 +43,9 @@ public class ConMgrStats extends SimpleStreamableObject
/** The overflow queue size. This is a snapshot at the time the stats are requested. */
public int overQueueSize;
/** The number of raw network events (sockets reporting ACCEPT or READY). */
public long eventCount;
/** The number of connection events since the server started up. */
public int connects;
@@ -59,10 +62,10 @@ public class ConMgrStats extends SimpleStreamableObject
public long bytesOut;
/** The number of messages read since the server started up. */
public int msgsIn;
public long msgsIn;
/** The number of messages written since the server started up. */
public int msgsOut;
public long msgsOut;
@Override // from Object
public Object clone ()