public static interface Stopwatch.Statistics
| Modifier and Type | Method and Description |
|---|---|
Duration |
getAverage()
Returns the arithmetic mean of all recorded durations.
|
default String |
getAverageAsString()
Returns a string representation of the arithmetic mean of all recorded durations.
|
long |
getCount()
Returns the count of durations recorded.
|
Duration |
getMaximum()
Returns the maximum of all recorded durations.
|
default String |
getMaximumAsString()
Returns a string representation of the maximum of all recorded durations.
|
Duration |
getMinimum()
Returns the minimum of all recorded durations.
|
default String |
getMinimumAsString()
Returns a string representation of the minimum of all recorded durations.
|
Duration |
getTotal()
Returns the total of all recorded durations.
|
default String |
getTotalAsString()
Returns a string representation of the total of all recorded durations.
|
long getCount()
Duration getTotal()
Duration.ZERO.Duration getMinimum()
Duration.ZERO.Duration getMaximum()
Duration.ZERO.Duration getAverage()
Duration.ZERO.default String getTotalAsString()
Duration.ZERO.default String getMinimumAsString()
Duration.ZERO.default String getMaximumAsString()
Duration.ZERO.default String getAverageAsString()
Duration.ZERO.Copyright © 2020 JBoss by Red Hat. All rights reserved.