Uses of Interface
io.netty5.buffer.api.MemoryManager
-
Packages that use MemoryManager Package Description io.netty5.buffer.api IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.buffer.api.adaptor Helpers for integrating with the existingByteBuf
API.io.netty5.buffer.api.bytebuffer Safe ByteBuffer based implementation.io.netty5.buffer.api.internal Internal implementation details that can be shared among Buffer implementations.io.netty5.buffer.api.pool A poolingBufferAllocator
implementation based on jemalloc.io.netty5.buffer.api.unsafe ABuffer
implementation that is based onsun.misc.Unsafe
. -
-
Uses of MemoryManager in io.netty5.buffer.api
Methods in io.netty5.buffer.api that return MemoryManager Modifier and Type Method Description static MemoryManager
MemoryManager. instance()
Get the default, or currently configured, memory managers instance.Methods in io.netty5.buffer.api that return types with arguments of type MemoryManager Modifier and Type Method Description static Stream<ServiceLoader.Provider<MemoryManager>>
MemoryManager. availableManagers()
Get a lazy-loading stream of all available memory managers.static Optional<MemoryManager>
MemoryManager. lookupImplementation(String implementationName)
Find aMemoryManager
implementation by its implementation name.Methods in io.netty5.buffer.api with parameters of type MemoryManager Modifier and Type Method Description static <T> T
MemoryManager. using(MemoryManager manager, Supplier<T> supplier)
Temporarily override the default configured memory managers instance. -
Uses of MemoryManager in io.netty5.buffer.api.adaptor
Classes in io.netty5.buffer.api.adaptor that implement MemoryManager Modifier and Type Class Description class
ByteBufMemoryManager
-
Uses of MemoryManager in io.netty5.buffer.api.bytebuffer
Classes in io.netty5.buffer.api.bytebuffer that implement MemoryManager Modifier and Type Class Description class
ByteBufferMemoryManager
This memory manager produces and managesBuffer
instances that are backed by NIOByteBuffer
instances. -
Uses of MemoryManager in io.netty5.buffer.api.internal
Methods in io.netty5.buffer.api.internal that return MemoryManager Modifier and Type Method Description static MemoryManager
MemoryManagerOverride. configuredOrDefaultManager()
Methods in io.netty5.buffer.api.internal that return types with arguments of type MemoryManager Modifier and Type Method Description static Stream<ServiceLoader.Provider<MemoryManager>>
MemoryManagerLoader. stream()
Methods in io.netty5.buffer.api.internal with parameters of type MemoryManager Modifier and Type Method Description static Function<Drop<Buffer>,Drop<Buffer>>
Statics. standardDrop(MemoryManager manager)
static <T extends Buffer>
Drop<T>Statics. standardDropWrap(Drop<T> drop, MemoryManager manager)
static <T> T
MemoryManagerOverride. using(MemoryManager managers, Supplier<T> supplier)
static <T extends Buffer>
Drop<T>CleanerDrop. wrap(Drop<T> drop, MemoryManager manager)
Wrap the given drop instance, and produce a new drop instance that will also call the delegate drop instance if it becomes cleanable. -
Uses of MemoryManager in io.netty5.buffer.api.pool
Constructors in io.netty5.buffer.api.pool with parameters of type MemoryManager Constructor Description PooledBufferAllocator(MemoryManager manager, boolean direct)
PooledBufferAllocator(MemoryManager manager, boolean direct, int numArenas, int pageSize, int maxOrder)
PooledBufferAllocator(MemoryManager manager, boolean direct, int numArenas, int pageSize, int maxOrder, int smallCacheSize, int normalCacheSize, boolean useCacheForAllThreads)
PooledBufferAllocator(MemoryManager manager, boolean direct, int numArenas, int pageSize, int maxOrder, int smallCacheSize, int normalCacheSize, boolean useCacheForAllThreads, int directMemoryCacheAlignment)
-
Uses of MemoryManager in io.netty5.buffer.api.unsafe
Classes in io.netty5.buffer.api.unsafe that implement MemoryManager Modifier and Type Class Description class
UnsafeMemoryManager
This memory manager produces and managesBuffer
instances that are usingUnsafe
to allocate and access memory.
-