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.ACTIVE
getAccumulatedTimeMillis()
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.
|
getState
long getAccumulatedTimeMillis()
getAccumulatedTimeMillis()
.
This value is undefined if the timer is StatisticState.UNAVAILABLE
.AccumulatedTimerSupplier snapshot()
StatisticState.ACTIVE
snapshot
in interface StatisticSupplier
Copyright © 2021 Actian Corporation. All rights reserved.