public static class Instrumentation.Counter extends AtomicLong implements Instrumentation.Element<Long>
| Constructor and Description |
|---|
Counter() |
| Modifier and Type | Method and Description |
|---|---|
Long |
getValue()
Return the counter snapshot.
|
String |
toString()
Return the String representation of the counter value.
|
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, updateAndGet, weakCompareAndSetbyteValue, shortValuepublic Counter()
public Long getValue()
getValue in interface Instrumentation.Element<Long>public String toString()
toString in class AtomicLongCopyright © 2020 Apache Software Foundation. All rights reserved.