Class Statistics

java.lang.Object
com.iizix.server.Statistics

public class Statistics extends Object
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 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.