Uses of Class
org.apache.bookkeeper.common.allocator.LeakDetectionPolicy
-
Packages that use LeakDetectionPolicy 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.org.apache.bookkeeper.conf Configurations used by bookkeeper. -
-
Uses of LeakDetectionPolicy in org.apache.bookkeeper.common.allocator
Methods in org.apache.bookkeeper.common.allocator that return LeakDetectionPolicy Modifier and Type Method Description static LeakDetectionPolicy
LeakDetectionPolicy. parseLevel(java.lang.String levelStr)
static LeakDetectionPolicy
LeakDetectionPolicy. valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LeakDetectionPolicy[]
LeakDetectionPolicy. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.bookkeeper.common.allocator with parameters of type LeakDetectionPolicy Modifier and Type Method Description ByteBufAllocatorBuilder
ByteBufAllocatorBuilder. leakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy)
Enable the leak detection for the allocator. -
Uses of LeakDetectionPolicy in org.apache.bookkeeper.common.allocator.impl
Fields in org.apache.bookkeeper.common.allocator.impl declared as LeakDetectionPolicy Modifier and Type Field Description (package private) LeakDetectionPolicy
ByteBufAllocatorBuilderImpl. leakDetectionPolicy
Methods in org.apache.bookkeeper.common.allocator.impl with parameters of type LeakDetectionPolicy Modifier and Type Method Description ByteBufAllocatorBuilder
ByteBufAllocatorBuilderImpl. leakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy)
Constructors in org.apache.bookkeeper.common.allocator.impl with parameters of type LeakDetectionPolicy Constructor Description ByteBufAllocatorImpl(io.netty.buffer.ByteBufAllocator pooledAllocator, io.netty.buffer.ByteBufAllocator unpooledAllocator, PoolingPolicy poolingPolicy, int poolingConcurrency, OutOfMemoryPolicy outOfMemoryPolicy, java.util.function.Consumer<java.lang.OutOfMemoryError> outOfMemoryListener, LeakDetectionPolicy leakDetectionPolicy)
ByteBufAllocatorImpl(io.netty.buffer.ByteBufAllocator pooledAllocator, io.netty.buffer.ByteBufAllocator unpooledAllocator, PoolingPolicy poolingPolicy, int poolingConcurrency, OutOfMemoryPolicy outOfMemoryPolicy, java.util.function.Consumer<java.lang.OutOfMemoryError> outOfMemoryListener, LeakDetectionPolicy leakDetectionPolicy, boolean exitOnOutOfMemory)
-
Uses of LeakDetectionPolicy in org.apache.bookkeeper.conf
Methods in org.apache.bookkeeper.conf that return LeakDetectionPolicy Modifier and Type Method Description LeakDetectionPolicy
AbstractConfiguration. getAllocatorLeakDetectionPolicy()
Return the configured leak detection policy for the allocator.Methods in org.apache.bookkeeper.conf with parameters of type LeakDetectionPolicy Modifier and Type Method Description T
AbstractConfiguration. setAllocatorLeakDetectionPolicy(LeakDetectionPolicy leakDetectionPolicy)
Enable the leak detection for the allocator.
-