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
,java.io.Serializable
- Enclosing class:
- PlatformDependent
private static final class PlatformDependent.AtomicLongCounter extends java.util.concurrent.atomic.AtomicLong implements LongCounter
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
-
Constructor Summary
Constructors Modifier Constructor Description private
AtomicLongCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(long delta)
void
decrement()
void
increment()
long
value()
-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
-
-