Class BufferPool
- java.lang.Object
-
- org.apache.bookkeeper.bookie.storage.directentrylogger.BufferPool
-
- All Implemented Interfaces:
java.lang.AutoCloseable
public class BufferPool extends java.lang.Object implements java.lang.AutoCloseable
BufferPool used to manage Buffers.
-
-
Constructor Summary
Constructors Constructor Description BufferPool(NativeIO nativeIO, io.netty.buffer.ByteBufAllocator allocator, int bufferSize, int maxPoolSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) Buffer
acquire()
void
close()
(package private) void
release(Buffer buffer)
-
-
-
Constructor Detail
-
BufferPool
BufferPool(NativeIO nativeIO, io.netty.buffer.ByteBufAllocator allocator, int bufferSize, int maxPoolSize) throws java.io.IOException
- Throws:
java.io.IOException
-
-