Uses of Class
io.netty.buffer.PoolThreadCache.MemoryRegionCache
Packages that use PoolThreadCache.MemoryRegionCache
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
-
Uses of PoolThreadCache.MemoryRegionCache in io.netty.buffer
Subclasses of PoolThreadCache.MemoryRegionCache in io.netty.bufferModifier and TypeClassDescriptionprivate static final class
Cache used for buffers which are backed by NORMAL size.private static final class
Cache used for buffers which are backed by TINY or SMALL size.Fields in io.netty.buffer declared as PoolThreadCache.MemoryRegionCacheModifier and TypeFieldDescriptionprivate final PoolThreadCache.MemoryRegionCache<ByteBuffer>[]
PoolThreadCache.normalDirectCaches
private final PoolThreadCache.MemoryRegionCache<byte[]>[]
PoolThreadCache.normalHeapCaches
private final PoolThreadCache.MemoryRegionCache<ByteBuffer>[]
PoolThreadCache.smallSubPageDirectCaches
private final PoolThreadCache.MemoryRegionCache<byte[]>[]
PoolThreadCache.smallSubPageHeapCaches
Methods in io.netty.buffer that return PoolThreadCache.MemoryRegionCacheModifier and TypeMethodDescriptionprivate PoolThreadCache.MemoryRegionCache
<?> PoolThreadCache.cache
(PoolArena<?> area, int sizeIdx, PoolArena.SizeClass sizeClass) private static <T> PoolThreadCache.MemoryRegionCache
<T> PoolThreadCache.cache
(PoolThreadCache.MemoryRegionCache<T>[] cache, int sizeIdx) private PoolThreadCache.MemoryRegionCache
<?> PoolThreadCache.cacheForNormal
(PoolArena<?> area, int sizeIdx) private PoolThreadCache.MemoryRegionCache
<?> PoolThreadCache.cacheForSmall
(PoolArena<?> area, int sizeIdx) private static <T> PoolThreadCache.MemoryRegionCache<T>[]
PoolThreadCache.createNormalCaches
(int cacheSize, int maxCachedBufferCapacity, PoolArena<T> area) private static <T> PoolThreadCache.MemoryRegionCache<T>[]
PoolThreadCache.createSubPageCaches
(int cacheSize, int numCaches) Methods in io.netty.buffer with parameters of type PoolThreadCache.MemoryRegionCacheModifier and TypeMethodDescriptionprivate boolean
PoolThreadCache.allocate
(PoolThreadCache.MemoryRegionCache<?> cache, PooledByteBuf buf, int reqCapacity) private static <T> PoolThreadCache.MemoryRegionCache
<T> PoolThreadCache.cache
(PoolThreadCache.MemoryRegionCache<T>[] cache, int sizeIdx) private static int
PoolThreadCache.free
(PoolThreadCache.MemoryRegionCache<?>[] caches, boolean finalizer) private static int
PoolThreadCache.free
(PoolThreadCache.MemoryRegionCache<?> cache, boolean finalizer) private static void
PoolThreadCache.trim
(PoolThreadCache.MemoryRegionCache<?> cache) private static void
PoolThreadCache.trim
(PoolThreadCache.MemoryRegionCache<?>[] caches)