Interface TrackedStats
public interface TrackedStats
-
Method Summary
Modifier and TypeMethodDescriptionend()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 toProcessSessionetc. to gather performance metrics that are relevant.
-
Method Details
-
end
StandardFlowFileEvent 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 toProcessSessionetc. to gather performance metrics that are relevant.- Returns:
- the PerformanceTracker associated with the TrackedStats
-