Package com.iizix.server
Class Statistics
java.lang.Object
com.iizix.server.Statistics
The statistics class is used to track information about what is going on in the server in terms of min/max/average values, I/O data amount and throughput, etc.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorsMethod Summary
Modifier and TypeMethodDescriptionstatic voidaddCommunicationInboundIO(int nn) Adds a (low-level) communication in-bound I/O data amount, typically raw data such as Socket.static voidaddCommunicationOutboundIO(int nn) Adds a (low-level) communication out-bound I/O data amount, typically raw data such as Socket.static voidaddConnectorInboundIO(int nn) Adds a Connectors in-bound I/O data amount.static voidaddConnectorOutboundIO(int nn) Adds a Connectors out-bound I/O data amount.static voidaddEndPointInboundIO(int nn) Adds an end points in-bound I/O data amount.static voidaddEndPointOutboundIO(int nn) Adds an end points out-bound I/O data amount.
Constructor Details
Statistics
public Statistics()
Method Details
addCommunicationInboundIO
public static void addCommunicationInboundIO(int nn) Adds a (low-level) communication in-bound I/O data amount, typically raw data such as Socket.- Parameters:
nn- The byte count.
addCommunicationOutboundIO
public static void addCommunicationOutboundIO(int nn) Adds a (low-level) communication out-bound I/O data amount, typically raw data such as Socket.- Parameters:
nn- The byte count.
addConnectorInboundIO
public static void addConnectorInboundIO(int nn) Adds a Connectors in-bound I/O data amount.- Parameters:
nn- The byte count.
addConnectorOutboundIO
public static void addConnectorOutboundIO(int nn) Adds a Connectors out-bound I/O data amount.- Parameters:
nn- The byte count.
addEndPointInboundIO
public static void addEndPointInboundIO(int nn) Adds an end points in-bound I/O data amount.- Parameters:
nn- The byte count.
addEndPointOutboundIO
public static void addEndPointOutboundIO(int nn) Adds an end points out-bound I/O data amount.- Parameters:
nn- The byte count.