public interface TrackedStats
  • Method Summary

    Modifier and Type
    Method
    Description
    end()
    Ends the tracking of stats and returns a StandardFlowFileEvent that contains the stats.
    Returns the PerformanceTracker associated with the TrackedStats so that it may be provided to ProcessSession etc. to gather performance metrics that are relevant.
  • Method Details

    • end

      Ends the tracking of stats and returns a StandardFlowFileEvent that contains the stats. StandardFlowFileEvent is used here because it is often the case that we want to populate additional fields in the FlowFileEvent, and the StandardFlowFileEvent allows us to do this.
      Returns:
      a StandardFlowFileEvent that contains the stats collected during tracking.
    • getPerformanceTracker

      PerformanceTracker getPerformanceTracker()
      Returns the PerformanceTracker associated with the TrackedStats so that it may be provided to ProcessSession etc. to gather performance metrics that are relevant.
      Returns:
      the PerformanceTracker associated with the TrackedStats