public final class AccumulatedTimerDefinition extends StatisticDefinition<AccumulatedTimerSupplier>
IntervalTimerSupplier
.CATEGORY_GENERAL, CATEGORY_IO
Constructor and Description |
---|
AccumulatedTimerDefinition(String id,
String displayName)
Defines a timer statistic
|
Modifier and Type | Method and Description |
---|---|
AccumulatedTimerSupplier |
aggregate(List<? extends StatisticSupplier> values)
Performs timer aggregation per the aggregation rules specified on
IntervalTimerSupplier . |
AccumulatedTimerSupplier |
cast(StatisticSupplier value)
Casts the
StatisticSupplier to this definition, substituting
a default value for null. |
AccumulatedTimerDefinition |
category(String category)
Sets the category
|
AccumulatedTimerDefinition |
nonPartitioned(boolean nonPartitioned)
Indicates that this statistic refers to a concept that is inherently
non-parallel.
|
category, cpuTime, displayName, duration, equals, finalSnapshot, hashCode, id, ioBytes, ioCount, nonPartitioned, toString
public AccumulatedTimerDefinition category(String category)
StatisticDefinition
category
in class StatisticDefinition<AccumulatedTimerSupplier>
category
- the categoryStatisticDefinition
.public AccumulatedTimerSupplier aggregate(List<? extends StatisticSupplier> values)
IntervalTimerSupplier
.aggregate
in class StatisticDefinition<AccumulatedTimerSupplier>
values
- the values to aggregatepublic AccumulatedTimerSupplier cast(StatisticSupplier value)
StatisticDefinition
StatisticSupplier
to this definition, substituting
a default value for null.cast
in class StatisticDefinition<AccumulatedTimerSupplier>
value
- the valuepublic AccumulatedTimerDefinition nonPartitioned(boolean nonPartitioned)
StatisticDefinition
nonPartitioned
in class StatisticDefinition<AccumulatedTimerSupplier>
nonPartitioned
- whether this statistic refers to a non-partitioned conceptStatisticDefinition
.Copyright © 2021 Actian Corporation. All rights reserved.