Interface AccumulatedTimerSupplier

All Superinterfaces:
StatisticSupplier
All Known Implementing Classes:
AccumulatedTimer, AccumulatedTimerSnapshot

public interface AccumulatedTimerSupplier extends StatisticSupplier
Abstract statistic that represents "wall-clock" time of some runtime activity. Timers consist of a state(unavailable, started, stopped), a start time, and an end time. Timers always aggregate in the following way:
  1. The aggregated StatisticSupplier.getState() is StatisticState.UNAVAILABLE if all partitions are unavailable. Otherwise the aggregated StatisticSupplier.getState() is StatisticState.FINISHED if all partitions are StatisticState.FINISHED. Otherwise the aggregated StatisticSupplier.getState() is StatisticState.ACTIVE
  2. The aggregated getAccumulatedTimeMillis() is defined to be the sum over all partitions of the partition's getAccumulatedTimeMillis()