Package io.netty.buffer
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
Fields Modifier and Type Field Description private java.util.concurrent.atomic.LongAddertotalCapacity
-
Constructor Summary
Constructors Modifier Constructor Description privateChunkRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(AdaptivePoolingAllocator.Chunk chunk)voidremove(AdaptivePoolingAllocator.Chunk chunk)longtotalCapacity()
-
-
-
Method Detail
-
totalCapacity
public long totalCapacity()
-
add
public void add(AdaptivePoolingAllocator.Chunk chunk)
-
remove
public void remove(AdaptivePoolingAllocator.Chunk chunk)
-
-