Class IntervalTimerSnapshot

java.lang.Object
com.pervasive.datarush.monitoring.AbstractIntervalTimerSupplier
com.pervasive.datarush.monitoring.IntervalTimerSnapshot
All Implemented Interfaces:
IntervalTimerSupplier, StatisticSupplier, Serializable

public final class IntervalTimerSnapshot extends AbstractIntervalTimerSupplier implements Serializable
A snapshot that reflects a point-in-time of a IntervalTimerSupplier.
See Also:
  • Field Details

  • Constructor Details

    • 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
  • Method Details