Uses of Interface
org.apache.bookkeeper.common.allocator.ByteBufAllocatorBuilder
Packages that use ByteBufAllocatorBuilder
Package
Description
defines the utilities for allocator used across the project.
Implements the utilities for allocator used across the project.
-
Uses of ByteBufAllocatorBuilder in org.apache.bookkeeper.common.allocator
Methods in org.apache.bookkeeper.common.allocator that return ByteBufAllocatorBuilderModifier and TypeMethodDescriptionstatic ByteBufAllocatorBuilderByteBufAllocatorBuilder.create()Creates a newByteBufAllocatorBuilder.ByteBufAllocatorBuilder.exitOnOutOfMemory(boolean exitOnOutOfMemory) ByteBufAllocatorBuilder.leakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy) Enable the leak detection for the allocator.ByteBufAllocatorBuilder.outOfMemoryListener(Consumer<OutOfMemoryError> listener) Add a listener that is triggered whenever there is an allocation failure.ByteBufAllocatorBuilder.outOfMemoryPolicy(OutOfMemoryPolicy policy) Define the OutOfMemory handling policy.ByteBufAllocatorBuilder.pooledAllocator(io.netty.buffer.ByteBufAllocator pooledAllocator) Specify a custom allocator where the allocation requests should be forwarded to.ByteBufAllocatorBuilder.poolingConcurrency(int poolingConcurrency) Controls the amount of concurrency for the memory pool.ByteBufAllocatorBuilder.poolingPolicy(PoolingPolicy policy) Define the memory pooling policy.ByteBufAllocatorBuilder.unpooledAllocator(io.netty.buffer.ByteBufAllocator unpooledAllocator) Specify a custom allocator where the allocation requests should be forwarded to. -
Uses of ByteBufAllocatorBuilder in org.apache.bookkeeper.common.allocator.impl
Classes in org.apache.bookkeeper.common.allocator.impl that implement ByteBufAllocatorBuilderMethods in org.apache.bookkeeper.common.allocator.impl that return ByteBufAllocatorBuilderModifier and TypeMethodDescriptionByteBufAllocatorBuilderImpl.exitOnOutOfMemory(boolean exitOnOutOfMemory) ByteBufAllocatorBuilderImpl.leakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy) ByteBufAllocatorBuilderImpl.outOfMemoryListener(Consumer<OutOfMemoryError> listener) ByteBufAllocatorBuilderImpl.outOfMemoryPolicy(OutOfMemoryPolicy policy) ByteBufAllocatorBuilderImpl.pooledAllocator(io.netty.buffer.ByteBufAllocator pooledAllocator) ByteBufAllocatorBuilderImpl.poolingConcurrency(int poolingConcurrency) ByteBufAllocatorBuilderImpl.poolingPolicy(PoolingPolicy policy) ByteBufAllocatorBuilderImpl.unpooledAllocator(io.netty.buffer.ByteBufAllocator unpooledAllocator)