Package io.netty.buffer
Interface AdaptivePoolingAllocator.ChunkCache
-
- All Known Implementing Classes:
AdaptivePoolingAllocator.ConcurrentSkipListChunkCache,AdaptivePoolingAllocator.SharedSizeClassedChunkCache,AdaptivePoolingAllocator.SizeClassedChunkCache,AdaptivePoolingAllocator.ThreadLocalSizeClassedChunkCache
- Enclosing class:
- AdaptivePoolingAllocator
static interface AdaptivePoolingAllocator.ChunkCache
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfree()booleanisEmpty()booleanofferChunk(AdaptivePoolingAllocator.Chunk chunk)AdaptivePoolingAllocator.ChunkpollChunk(int size)
-
-
-
Method Detail
-
pollChunk
AdaptivePoolingAllocator.Chunk pollChunk(int size)
-
offerChunk
boolean offerChunk(AdaptivePoolingAllocator.Chunk chunk)
-
free
void free()
-
isEmpty
boolean isEmpty()
-
-