Uses of Interface
org.apache.bookkeeper.common.allocator.ByteBufAllocatorBuilder
-
Packages that use ByteBufAllocatorBuilder Package Description org.apache.bookkeeper.common.allocator defines the utilities for allocator used across the project.org.apache.bookkeeper.common.allocator.impl 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 ByteBufAllocatorBuilder Modifier and Type Method Description static ByteBufAllocatorBuilderByteBufAllocatorBuilder. create()Creates a newByteBufAllocatorBuilder.ByteBufAllocatorBuilderByteBufAllocatorBuilder. exitOnOutOfMemory(boolean exitOnOutOfMemory)ByteBufAllocatorBuilderByteBufAllocatorBuilder. leakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy)Enable the leak detection for the allocator.ByteBufAllocatorBuilderByteBufAllocatorBuilder. outOfMemoryListener(java.util.function.Consumer<java.lang.OutOfMemoryError> listener)Add a listener that is triggered whenever there is an allocation failure.ByteBufAllocatorBuilderByteBufAllocatorBuilder. outOfMemoryPolicy(OutOfMemoryPolicy policy)Define the OutOfMemory handling policy.ByteBufAllocatorBuilderByteBufAllocatorBuilder. pooledAllocator(io.netty.buffer.ByteBufAllocator pooledAllocator)Specify a custom allocator where the allocation requests should be forwarded to.ByteBufAllocatorBuilderByteBufAllocatorBuilder. poolingConcurrency(int poolingConcurrency)Controls the amount of concurrency for the memory pool.ByteBufAllocatorBuilderByteBufAllocatorBuilder. poolingPolicy(PoolingPolicy policy)Define the memory pooling policy.ByteBufAllocatorBuilderByteBufAllocatorBuilder. 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 ByteBufAllocatorBuilder Modifier and Type Class Description classByteBufAllocatorBuilderImplImplementation ofByteBufAllocatorBuilder.Methods in org.apache.bookkeeper.common.allocator.impl that return ByteBufAllocatorBuilder Modifier and Type Method Description ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. exitOnOutOfMemory(boolean exitOnOutOfMemory)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. leakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. outOfMemoryListener(java.util.function.Consumer<java.lang.OutOfMemoryError> listener)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. outOfMemoryPolicy(OutOfMemoryPolicy policy)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. pooledAllocator(io.netty.buffer.ByteBufAllocator pooledAllocator)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. poolingConcurrency(int poolingConcurrency)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. poolingPolicy(PoolingPolicy policy)ByteBufAllocatorBuilderByteBufAllocatorBuilderImpl. unpooledAllocator(io.netty.buffer.ByteBufAllocator unpooledAllocator)
-