Interface TimeStatistic

  • All Superinterfaces:
    Statistic


    public interface TimeStatistic
    extends Statistic
    Specifies standard timing measurements.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getCount​()
      Number of times the operation was invoked since the beginning of this measurement.
      long getMaxTime​()
      The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
      long getMinTime​()
      The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
      long getTotalTime​()
      This is the sum total of time taken to complete every invocation of this operation since the beginning of this measurement.
    • Method Detail

      • getCount

        long getCount​()
        Number of times the operation was invoked since the beginning of this measurement.
      • getMaxTime

        long getMaxTime​()
        The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
      • getMinTime

        long getMinTime​()
        The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
      • getTotalTime

        long getTotalTime​()
        This is the sum total of time taken to complete every invocation of this operation since the beginning of this measurement. Dividing totalTime by count will give you the average execution time for this operation.