Class AdaptivePoolingAllocator.ChunkRegistry
java.lang.Object
io.netty.buffer.AdaptivePoolingAllocator.ChunkRegistry
- Enclosing class:
AdaptivePoolingAllocator
private static final class AdaptivePoolingAllocator.ChunkRegistry
extends java.lang.Object
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final java.util.concurrent.atomic.LongAdder -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidlongMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
totalCapacity
private final java.util.concurrent.atomic.LongAdder totalCapacity
-
-
Constructor Details
-
ChunkRegistry
private ChunkRegistry()
-
-
Method Details
-
totalCapacity
public long totalCapacity() -
add
-
remove
-