Package | Description |
---|---|
io.netty.buffer |
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
|
Modifier and Type | Field and Description |
---|---|
private PoolArena.SizeClass |
PoolThreadCache.MemoryRegionCache.sizeClass |
Modifier and Type | Method and Description |
---|---|
private PoolArena.SizeClass |
PoolArena.sizeClass(int normCapacity) |
static PoolArena.SizeClass |
PoolArena.SizeClass.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PoolArena.SizeClass[] |
PoolArena.SizeClass.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
PoolThreadCache.add(PoolArena<?> area,
PoolChunk chunk,
long handle,
int normCapacity,
PoolArena.SizeClass sizeClass)
Add
PoolChunk and handle to the cache if there is enough room. |
private PoolThreadCache.MemoryRegionCache<?> |
PoolThreadCache.cache(PoolArena<?> area,
int normCapacity,
PoolArena.SizeClass sizeClass) |
private static <T> PoolThreadCache.MemoryRegionCache<T>[] |
PoolThreadCache.createSubPageCaches(int cacheSize,
int numCaches,
PoolArena.SizeClass sizeClass) |
(package private) void |
PoolArena.freeChunk(PoolChunk<T> chunk,
long handle,
PoolArena.SizeClass sizeClass) |
Constructor and Description |
---|
MemoryRegionCache(int size,
PoolArena.SizeClass sizeClass) |
SubPageMemoryRegionCache(int size,
PoolArena.SizeClass sizeClass) |