Class Statistics


  • public class Statistics
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      Statistics()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void addCommunicationInboundIO​(int nn)
      Adds a (low-level) communication in-bound I/O data amount, typically raw data such as Socket.
      static void addCommunicationOutboundIO​(int nn)
      Adds a (low-level) communication out-bound I/O data amount, typically raw data such as Socket.
      static void addConnectorInboundIO​(int nn)
      Adds a Connectors in-bound I/O data amount.
      static void addConnectorOutboundIO​(int nn)
      Adds a Connectors out-bound I/O data amount.
      static void addEndPointInboundIO​(int nn)
      Adds an end points in-bound I/O data amount.
      static void addEndPointOutboundIO​(int nn)
      Adds an end points out-bound I/O data amount.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Statistics

        public Statistics()
    • Method Detail

      • 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.