Class OutputSnapshot

    • Constructor Detail

      • OutputSnapshot

        public OutputSnapshot​(OutputStatistics stats)
        Creates a snapshot of output statistics.
        Parameters:
        stats - the live statistics to capture
    • Method Detail

      • getMaxBatchCount

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

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