com.threerings.nio.conman
Class ConMgrStats

java.lang.Object
  extended by com.threerings.nio.conman.ConMgrStats
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
PresentsConMgrStats

public class ConMgrStats
extends Object
implements Cloneable


Field Summary
 long bytesIn
          The number of bytes read since the server started up.
 long bytesOut
          The number of bytes written since the server started up.
 int closes
          The number of socket closes since the server started up.
 int connectionCount
          The number of mapped connections.
 int connects
          The number of connection events since the server started up.
 int deathQueueSize
          The size of the queue of waiting to die sockets.
 int disconnects
          The number of disconnection events since the server started up.
 long eventCount
          The number of raw network events (sockets reporting ACCEPT or READY).
 int handlerCount
          The number of net event handlers.
 long msgsIn
          The number of messages read since the server started up.
 long msgsOut
          The number of messages written since the server started up.
 int outQueueSize
          The outgoing queue size.
 int overQueueSize
          The overflow queue size.
 
Constructor Summary
ConMgrStats()
           
 
Method Summary
 ConMgrStats clone()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

connectionCount

public int connectionCount
The number of mapped connections. This is a snapshot at the time the stats are requested.


handlerCount

public int handlerCount
The number of net event handlers. This is a snapshot at the time the stats are requested.


deathQueueSize

public int deathQueueSize
The size of the queue of waiting to die sockets. This is a snapshot at the time the stats are requested.


outQueueSize

public int outQueueSize
The outgoing queue size. This is a snapshot at the time the stats are requested.


overQueueSize

public int overQueueSize
The overflow queue size. This is a snapshot at the time the stats are requested.


eventCount

public long eventCount
The number of raw network events (sockets reporting ACCEPT or READY).


connects

public int connects
The number of connection events since the server started up.


disconnects

public int disconnects
The number of disconnection events since the server started up.


closes

public int closes
The number of socket closes since the server started up.


bytesIn

public long bytesIn
The number of bytes read since the server started up.


bytesOut

public long bytesOut
The number of bytes written since the server started up.


msgsIn

public long msgsIn
The number of messages read since the server started up.


msgsOut

public long msgsOut
The number of messages written since the server started up.

Constructor Detail

ConMgrStats

public ConMgrStats()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

clone

public ConMgrStats clone()
Overrides:
clone in class Object