public class TimeStatistic extends Statistic
| Modifier and Type | Field and Description |
|---|---|
long |
count
Number of times the operation was invoked since the beginning of this measurement.
|
static java.lang.String |
IMPLEMENTED_FOR
interface name for this class implement
|
long |
maxTime
The maximum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
|
long |
minTime
The minimum amount of time taken to complete one invocation of this operation since the beginning of this measurement.
|
long |
totalTime
This is the sum total of time taken to complete every invocation of this operation since the beginning of this measurement.
|
description, lastSampleTime, name, startTime, unit| Constructor and Description |
|---|
TimeStatistic() |
| Modifier and Type | Method and Description |
|---|---|
void |
initializeFrom(java.lang.Object stat) |
toJsonStringpublic static final transient java.lang.String IMPLEMENTED_FOR
public long count
public long maxTime
public long minTime
public long totalTime
public void initializeFrom(java.lang.Object stat)
throws java.lang.NoSuchMethodException,
java.lang.IllegalAccessException,
java.lang.reflect.InvocationTargetException
initializeFrom in class Statisticjava.lang.NoSuchMethodExceptionjava.lang.IllegalAccessExceptionjava.lang.reflect.InvocationTargetException