(package private) void |
PoolChunkList.add(PoolChunk<T> chunk) |
|
(package private) boolean |
PoolThreadCache.add(PoolArena<?> area,
PoolChunk chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int normCapacity,
PoolArena.SizeClass sizeClass) |
Add PoolChunk and handle to the cache if there is enough room.
|
boolean |
PoolThreadCache.MemoryRegionCache.add(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int normCapacity) |
Add to cache if not already full.
|
(package private) void |
PoolChunkList.add0(PoolChunk<T> chunk) |
|
protected abstract void |
PoolArena.destroyChunk(PoolChunk<T> chunk) |
|
protected void |
PoolArena.DirectArena.destroyChunk(PoolChunk<java.nio.ByteBuffer> chunk) |
|
protected void |
PoolArena.HeapArena.destroyChunk(PoolChunk<byte[]> chunk) |
|
(package private) void |
PoolArena.free(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int normCapacity,
PoolThreadCache cache) |
|
(package private) boolean |
PoolChunkList.free(PoolChunk<T> chunk,
long handle,
int normCapacity,
java.nio.ByteBuffer nioBuffer) |
|
(package private) void |
PoolArena.freeChunk(PoolChunk<T> chunk,
long handle,
int normCapacity,
PoolArena.SizeClass sizeClass,
java.nio.ByteBuffer nioBuffer,
boolean finalizer) |
|
(package private) void |
PooledByteBuf.init(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int offset,
int length,
int maxLength,
PoolThreadCache cache) |
|
(package private) void |
PooledUnsafeDirectByteBuf.init(PoolChunk<java.nio.ByteBuffer> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int offset,
int length,
int maxLength,
PoolThreadCache cache) |
|
private void |
PooledByteBuf.init0(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int offset,
int length,
int maxLength,
PoolThreadCache cache) |
|
protected abstract void |
PoolThreadCache.MemoryRegionCache.initBuf(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
PooledByteBuf<T> buf,
int reqCapacity,
PoolThreadCache threadCache) |
Init the PooledByteBuf using the provided chunk and handle with the capacity restrictions.
|
protected void |
PoolThreadCache.NormalMemoryRegionCache.initBuf(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
PooledByteBuf<T> buf,
int reqCapacity,
PoolThreadCache threadCache) |
|
protected void |
PoolThreadCache.SubPageMemoryRegionCache.initBuf(PoolChunk<T> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
PooledByteBuf<T> buf,
int reqCapacity,
PoolThreadCache threadCache) |
|
(package private) void |
PooledByteBuf.initUnpooled(PoolChunk<T> chunk,
int length) |
|
(package private) void |
PooledUnsafeDirectByteBuf.initUnpooled(PoolChunk<java.nio.ByteBuffer> chunk,
int length) |
|
private boolean |
PoolChunkList.move(PoolChunk<T> chunk) |
|
private boolean |
PoolChunkList.move0(PoolChunk<T> chunk) |
|
private static PoolThreadCache.MemoryRegionCache.Entry |
PoolThreadCache.MemoryRegionCache.newEntry(PoolChunk<?> chunk,
java.nio.ByteBuffer nioBuffer,
long handle,
int normCapacity) |
|
private void |
PoolChunkList.remove(PoolChunk<T> cur) |
|