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