Package io.netty.util.internal
Class PlatformDependent.AtomicLongCounter
java.lang.Object
java.lang.Number
java.util.concurrent.atomic.AtomicLong
io.netty.util.internal.PlatformDependent.AtomicLongCounter
- All Implemented Interfaces:
LongCounter
,Serializable
- Enclosing class:
PlatformDependent
private static final class PlatformDependent.AtomicLongCounter
extends AtomicLong
implements LongCounter
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.atomic.AtomicLong
accumulateAndGet, addAndGet, compareAndExchange, compareAndExchangeAcquire, compareAndExchangeRelease, compareAndSet, decrementAndGet, doubleValue, floatValue, get, getAcquire, getAndAccumulate, getAndAdd, getAndDecrement, getAndIncrement, getAndSet, getAndUpdate, getOpaque, getPlain, incrementAndGet, intValue, lazySet, longValue, set, setOpaque, setPlain, setRelease, toString, updateAndGet, weakCompareAndSet, weakCompareAndSetAcquire, weakCompareAndSetPlain, weakCompareAndSetRelease, weakCompareAndSetVolatile
Methods inherited from class java.lang.Number
byteValue, shortValue
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AtomicLongCounter
private AtomicLongCounter()
-
-
Method Details
-
add
public void add(long delta) - Specified by:
add
in interfaceLongCounter
-
increment
public void increment()- Specified by:
increment
in interfaceLongCounter
-
decrement
public void decrement()- Specified by:
decrement
in interfaceLongCounter
-
value
public long value()- Specified by:
value
in interfaceLongCounter
-