Interface OutputStatistics

All Superinterfaces:
PortStatistics
All Known Implementing Classes:
OutputSnapshot

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

    • getMaxTokenCount

      long getMaxTokenCount()
      Gets the highest number of tokens ever held in the dataflow queue. This is only applicable to output ports.
      Returns:
      the largest observed size of the queue, in tokens
    • getMaxBatchCount

      long getMaxBatchCount()
      Gets the highest number of batches ever held in the dataflow queue. This is only applicable to output ports.
      Returns:
      the largest observed size of the queue, in batches
    • getSnapshot

      OutputSnapshot 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