private static final class PoolThreadCache.NormalMemoryRegionCache<T> extends PoolThreadCache.MemoryRegionCache<T>
PoolThreadCache.MemoryRegionCache.Entry<T>
Constructor and Description |
---|
NormalMemoryRegionCache(int size) |
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, trim
protected void initBuf(PoolChunk<T> chunk, long handle, PooledByteBuf<T> buf, int reqCapacity)
PoolThreadCache.MemoryRegionCache
PooledByteBuf
using the provided chunk and handle with the capacity restrictions.initBuf
in class PoolThreadCache.MemoryRegionCache<T>