Interface InputStatistics

All Superinterfaces:
PortStatistics
All Known Implementing Classes:
InputSnapshot

public interface InputStatistics extends PortStatistics
Live run-time statistics for an input port.
  • Method Details

    • getIndirectWaitCount

      long getIndirectWaitCount()
      Gets the number of times the port entered a wait state because the writer was blocked by a different reader. This is only applicable to input ports.
      Returns:
      the accumulated number of waits due to another reader
    • getIndirectWaitDuration

      long getIndirectWaitDuration()
      Gets the total amount of time the port has spent in a wait state because the writer was blocked by a different reader. This is only applicable to input ports.
      Returns:
      milliseconds spent in an indirect wait state
    • getSnapshot

      InputSnapshot getSnapshot()
      Description copied from interface: PortStatistics
      Gets a snapshot of the current statistics.
      Specified by:
      getSnapshot in interface PortStatistics
      Returns:
      an immutable copy of the statistics