static class FutureRequestExecutionMetrics.DurationCounter extends Object
Modifier and Type | Field and Description |
---|---|
private AtomicLong |
count |
private AtomicLong |
cumulativeDuration |
Constructor and Description |
---|
DurationCounter() |
Modifier and Type | Method and Description |
---|---|
long |
averageDuration() |
long |
count() |
void |
increment(long startTime) |
String |
toString() |
private final AtomicLong count
private final AtomicLong cumulativeDuration
DurationCounter()
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses