Class IntervalTimerSnapshot

    • Constructor Detail

      • IntervalTimerSnapshot

        public IntervalTimerSnapshot​(IntervalTimerSupplier source)
        Create a snapshot of the given timer.
        Parameters:
        source - the timer
      • IntervalTimerSnapshot

        public IntervalTimerSnapshot​(StatisticState state,
                                     long startTimeMillis,
                                     long endTimeMillis)
        Create a snapshot with the specified values
        Parameters:
        state - the state of the timer
        startTimeMillis - the start time of the timer
        endTimeMillis - the end time of the timer