Interface OpStats


public interface OpStats
Statistics for a specific type of operation. OpStats provides basic metrics for tracking the frequency and duration of operations, such as nested operations or node executions within an agent invocation.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the number of times this operation was executed.
    long
    Gets the total time spent on this operation across all executions.
  • Method Details

    • getCount

      int getCount()
      Gets the number of times this operation was executed.
      Returns:
      operation count
    • getTotalTimeMillis

      long getTotalTimeMillis()
      Gets the total time spent on this operation across all executions.
      Returns:
      total time in milliseconds