Class AdaptivePoolingAllocator.Magazine.AdaptiveRecycler
java.lang.Object
io.netty.util.Recycler<AdaptivePoolingAllocator.AdaptiveByteBuf>
io.netty.buffer.AdaptivePoolingAllocator.Magazine.AdaptiveRecycler
- Enclosing class:
AdaptivePoolingAllocator.Magazine
private static final class AdaptivePoolingAllocator.Magazine.AdaptiveRecycler
extends Recycler<AdaptivePoolingAllocator.AdaptiveByteBuf>
-
Nested Class Summary
Nested classes/interfaces inherited from class Recycler
Recycler.EnhancedHandle<T>, Recycler.Handle<T> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected AdaptivePoolingAllocator.AdaptiveByteBufsharedWith(int maxCapacity)
-
Constructor Details
-
AdaptiveRecycler
private AdaptiveRecycler() -
AdaptiveRecycler
private AdaptiveRecycler(int maxCapacity)
-
-
Method Details
-
newObject
protected AdaptivePoolingAllocator.AdaptiveByteBuf newObject(Recycler.Handle<AdaptivePoolingAllocator.AdaptiveByteBuf> handle) - Specified by:
newObjectin classRecycler<AdaptivePoolingAllocator.AdaptiveByteBuf>- Parameters:
handle- can NOT be null.
-
threadLocal
-