Package io.netty.buffer
Class AdaptivePoolingAllocator.BuddyChunkManagementStrategy
- java.lang.Object
-
- io.netty.buffer.AdaptivePoolingAllocator.BuddyChunkManagementStrategy
-
- All Implemented Interfaces:
AdaptivePoolingAllocator.ChunkManagementStrategy
- Enclosing class:
- AdaptivePoolingAllocator
private static final class AdaptivePoolingAllocator.BuddyChunkManagementStrategy extends java.lang.Object implements AdaptivePoolingAllocator.ChunkManagementStrategy
-
-
Field Summary
Fields Modifier and Type Field Description private java.util.concurrent.atomic.AtomicIntegermaxChunkSize
-
Constructor Summary
Constructors Modifier Constructor Description privateBuddyChunkManagementStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdaptivePoolingAllocator.ChunkCachecreateChunkCache(boolean isThreadLocal)AdaptivePoolingAllocator.ChunkControllercreateController(AdaptivePoolingAllocator.MagazineGroup group)
-
-
-
Method Detail
-
createController
public AdaptivePoolingAllocator.ChunkController createController(AdaptivePoolingAllocator.MagazineGroup group)
- Specified by:
createControllerin interfaceAdaptivePoolingAllocator.ChunkManagementStrategy
-
createChunkCache
public AdaptivePoolingAllocator.ChunkCache createChunkCache(boolean isThreadLocal)
- Specified by:
createChunkCachein interfaceAdaptivePoolingAllocator.ChunkManagementStrategy
-
-