public interface BufferPoolFactory
Modifier and Type | Method and Description |
---|---|
BufferPool |
createBufferPool(int numRequiredBuffers,
boolean isFixedSize)
Tries to create a buffer pool, which is guaranteed to provide at least the number of required
buffers.
|
void |
destroyBufferPool(BufferPool bufferPool)
Destroy callback for updating factory book keeping.
|
BufferPool createBufferPool(int numRequiredBuffers, boolean isFixedSize) throws IOException
The buffer pool is either of dynamic size or fixed.
IOException
void destroyBufferPool(BufferPool bufferPool) throws IOException
IOException
Copyright © 2014–2017 The Apache Software Foundation. All rights reserved.