Class AdaptivePoolingAllocator.SizeClassChunkManagementStrategy
java.lang.Object
io.netty.buffer.AdaptivePoolingAllocator.SizeClassChunkManagementStrategy
- All Implemented Interfaces:
AdaptivePoolingAllocator.ChunkManagementStrategy
- Enclosing class:
AdaptivePoolingAllocator
private static final class AdaptivePoolingAllocator.SizeClassChunkManagementStrategy
extends Object
implements AdaptivePoolingAllocator.ChunkManagementStrategy
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final intprivate final int -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
MIN_SEGMENTS_PER_CHUNK
private static final int MIN_SEGMENTS_PER_CHUNK- See Also:
-
segmentSize
private final int segmentSize -
chunkSize
private final int chunkSize
-
-
Constructor Details
-
SizeClassChunkManagementStrategy
private SizeClassChunkManagementStrategy(int segmentSize)
-
-
Method Details
-
createController
public AdaptivePoolingAllocator.ChunkController createController(AdaptivePoolingAllocator.MagazineGroup group) - Specified by:
createControllerin interfaceAdaptivePoolingAllocator.ChunkManagementStrategy
-
createChunkCache
- Specified by:
createChunkCachein interfaceAdaptivePoolingAllocator.ChunkManagementStrategy
-