private static final class PlatformDependent.AtomicLongCounter extends java.util.concurrent.atomic.AtomicLong implements LongCounter
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Modifier | Constructor and Description |
---|---|
private |
AtomicLongCounter() |
Modifier and Type | Method and Description |
---|---|
void |
add(long delta) |
void |
decrement() |
void |
increment() |
long |
value() |
accumulateAndGet, addAndGet, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, incrementAndGet, intValue, lazySet, longValue, set, toString, updateAndGet, weakCompareAndSet
private static final long serialVersionUID
public void add(long delta)
add
in interface LongCounter
public void increment()
increment
in interface LongCounter
public void decrement()
decrement
in interface LongCounter
public long value()
value
in interface LongCounter