private static final class PoolThreadCache.SubPageMemoryRegionCache<T> extends PoolThreadCache.MemoryRegionCache<T>
PoolThreadCache.MemoryRegionCache.Entry<T>| Constructor and Description |
|---|
SubPageMemoryRegionCache(int size,
PoolArena.SizeClass sizeClass) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initBuf(PoolChunk<T> chunk,
long handle,
PooledByteBuf<T> buf,
int reqCapacity)
Init the
PooledByteBuf using the provided chunk and handle with the capacity restrictions. |
add, allocate, free, trimSubPageMemoryRegionCache(int size,
PoolArena.SizeClass sizeClass)
protected void initBuf(PoolChunk<T> chunk, long handle, PooledByteBuf<T> buf, int reqCapacity)
PoolThreadCache.MemoryRegionCachePooledByteBuf using the provided chunk and handle with the capacity restrictions.initBuf in class PoolThreadCache.MemoryRegionCache<T>