Package io.netty.buffer
Class AdaptivePoolingAllocator.SizeClassChunkControllerFactory
- java.lang.Object
-
- io.netty.buffer.AdaptivePoolingAllocator.SizeClassChunkControllerFactory
-
- All Implemented Interfaces:
AdaptivePoolingAllocator.ChunkControllerFactory
- Enclosing class:
- AdaptivePoolingAllocator
private static final class AdaptivePoolingAllocator.SizeClassChunkControllerFactory extends java.lang.Object implements AdaptivePoolingAllocator.ChunkControllerFactory
-
-
Field Summary
Fields Modifier and Type Field Description private intchunkSizeprivate static intMIN_SEGMENTS_PER_CHUNKprivate int[]segmentOffsetsprivate intsegmentSize
-
Constructor Summary
Constructors Modifier Constructor Description privateSizeClassChunkControllerFactory(int segmentSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptivePoolingAllocator.ChunkControllercreate(AdaptivePoolingAllocator.MagazineGroup group)
-
-
-
Field Detail
-
MIN_SEGMENTS_PER_CHUNK
private static final int MIN_SEGMENTS_PER_CHUNK
- See Also:
- Constant Field Values
-
segmentSize
private final int segmentSize
-
chunkSize
private final int chunkSize
-
segmentOffsets
private final int[] segmentOffsets
-
-
Method Detail
-
create
public AdaptivePoolingAllocator.ChunkController create(AdaptivePoolingAllocator.MagazineGroup group)
- Specified by:
createin interfaceAdaptivePoolingAllocator.ChunkControllerFactory
-
-