Class Connector.PortStats

All Implemented Interfaces:
Serializable, Cloneable
Enclosing class:

public static class Connector.PortStats extends Object implements Cloneable, Serializable
A data structure recording throughput statistics for its containing PortConnector instance.
See Also:
  • Field Details

    • numRcvFrames

      public int numRcvFrames
      Running counter of received frames on this PortConnector.
    • numRcvBytes

      public long numRcvBytes
      Running counter of received bytes on this PortConnector.
    • numXmtFrames

      public int numXmtFrames
      Running counter of transmitted frames on this PortConnector.
    • numXmtBytes

      public long numXmtBytes
      Running counter of transmitted bytes on this PortConnector.
    • numBadRcvFrames

      public int numBadRcvFrames
      Running counter of defective received frames.
    • numBadXmtFrames

      public int numBadXmtFrames
      Running counter of transmission failures.
    • numDataOverrunLosses

      public int numDataOverrunLosses
      Number of times data loss (due to overruns) was detected.
  • Constructor Details

    • PortStats

      public PortStats()
  • Method Details

    • clear

      public void clear()
      Reset all the statistics counters to zero.
    • clearGoodCounts

      public void clearGoodCounts()
      Reset only the counters of successful operations.
    • dup

      public Connector.PortStats dup()
      Make a deep copy of this PortStats object.
      duplicate PortStats object with counter values as of the time dup() was called