public interface AccumulatedTimerSupplier extends StatisticSupplier
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.ACTIVEgetAccumulatedTimeMillis() is defined to be the sum over all partitions of the partition's getAccumulatedTimeMillis()| Modifier and Type | Method and Description |
|---|---|
long |
getAccumulatedTimeMillis()
The accumulated time so far.
|
AccumulatedTimerSupplier |
snapshot()
Creates a snapshot of this timer.
|
getStatelong getAccumulatedTimeMillis()
getAccumulatedTimeMillis().
This value is undefined if the timer is StatisticState.UNAVAILABLE.AccumulatedTimerSupplier snapshot()
StatisticState.ACTIVEsnapshot in interface StatisticSupplierCopyright © 2024 Actian Corporation. All rights reserved.