Uses of Interface
io.netty5.buffer.api.MemoryManager
-
Packages that use MemoryManager Package Description io.netty5.buffer.api IncubatingBufferAPI, as a proposed alternative toByteBuf.io.netty5.buffer.api.adaptor Helpers for integrating with the existingByteBufAPI.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 poolingBufferAllocatorimplementation based on jemalloc.io.netty5.buffer.api.unsafe ABufferimplementation 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 MemoryManagerMemoryManager. 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 aMemoryManagerimplementation by its implementation name.Methods in io.netty5.buffer.api with parameters of type MemoryManager Modifier and Type Method Description static <T> TMemoryManager. 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 classByteBufMemoryManager -
Uses of MemoryManager in io.netty5.buffer.api.bytebuffer
Classes in io.netty5.buffer.api.bytebuffer that implement MemoryManager Modifier and Type Class Description classByteBufferMemoryManagerThis memory manager produces and managesBufferinstances that are backed by NIOByteBufferinstances. -
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 MemoryManagerMemoryManagerOverride. 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> TMemoryManagerOverride. 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 classUnsafeMemoryManagerThis memory manager produces and managesBufferinstances that are usingUnsafeto allocate and access memory.
-