public class DurationReportResultEntity extends ReportResultEntity implements DurationReportResult
Modifier and Type | Field and Description |
---|---|
protected long |
average |
protected long |
maximum |
protected long |
minimum |
period, periodUnit
Constructor and Description |
---|
DurationReportResultEntity() |
Modifier and Type | Method and Description |
---|---|
long |
getAverage()
Returns the average duration of all completed instances,
which have been started in the given period.
|
long |
getMaximum()
Returns the greatest duration of all completed instances,
which have been started in the given period.
|
long |
getMinimum()
Returns the smallest duration of all completed instances,
which have been started in the given period.
|
void |
setAverage(long average) |
void |
setMaximum(long maximum) |
void |
setMinimum(long minimum) |
String |
toString() |
getPeriod, getPeriodUnit, setPeriod, setPeriodUnit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getPeriod, getPeriodUnit
protected long minimum
protected long maximum
protected long average
public long getMinimum()
DurationReportResult
Returns the smallest duration of all completed instances, which have been started in the given period.
getMinimum
in interface DurationReportResult
public void setMinimum(long minimum)
public long getMaximum()
DurationReportResult
Returns the greatest duration of all completed instances, which have been started in the given period.
getMaximum
in interface DurationReportResult
public void setMaximum(long maximum)
public long getAverage()
DurationReportResult
Returns the average duration of all completed instances, which have been started in the given period.
getAverage
in interface DurationReportResult
public void setAverage(long average)
Copyright © 2021. All rights reserved.