public class DefaultSimpleStat extends Object implements SimpleStat
SimpleStat implementation.| Constructor and Description |
|---|
DefaultSimpleStat() |
| Modifier and Type | Method and Description |
|---|---|
long |
count() |
long |
getAverage(long defaultValue) |
long |
getMax(long defaultValue) |
long |
getMin(long defaultValue) |
void |
record(long value) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEmptypublic void record(long value)
record in interface SimpleStatpublic long getMin(long defaultValue)
getMin in interface SimpleStatpublic long getMax(long defaultValue)
getMax in interface SimpleStatpublic long getAverage(long defaultValue)
getAverage in interface SimpleStatpublic long count()
count in interface SimpleStatCopyright © 2022 JBoss by Red Hat. All rights reserved.