Package io.netty.buffer
Class AdaptivePoolingAllocator.SizeClassedChunkCache
java.lang.Object
io.netty.buffer.AdaptivePoolingAllocator.SizeClassedChunkCache
- All Implemented Interfaces:
AdaptivePoolingAllocator.ChunkCache
- Direct Known Subclasses:
AdaptivePoolingAllocator.SharedSizeClassedChunkCache,AdaptivePoolingAllocator.ThreadLocalSizeClassedChunkCache
- Enclosing class:
AdaptivePoolingAllocator
abstract static class AdaptivePoolingAllocator.SizeClassedChunkCache
extends Object
implements AdaptivePoolingAllocator.ChunkCache
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static AdaptivePoolingAllocator.SizeClassedChunkCachecreate(boolean isThreadLocal, int chunkSize) (package private) abstract AdaptivePoolingAllocator.SizeClassedChunkpollChunk(int size) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.buffer.AdaptivePoolingAllocator.ChunkCache
free, isEmpty, offerChunk
-
Constructor Details
-
SizeClassedChunkCache
SizeClassedChunkCache()
-
-
Method Details
-
create
-
pollChunk
- Specified by:
pollChunkin interfaceAdaptivePoolingAllocator.ChunkCache
-
forcePurge
-