public class BufferManagerImpl extends Object implements BufferManager
| Constructor and Description |
|---|
BufferManagerImpl(BufferAllocator allocator) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
DrillBuf |
getManagedBuffer() |
DrillBuf |
getManagedBuffer(int size) |
DrillBuf |
replace(DrillBuf old,
int newSize) |
public BufferManagerImpl(BufferAllocator allocator)
public void close()
close in interface AutoCloseableclose in interface BufferManagerpublic DrillBuf replace(DrillBuf old, int newSize)
replace in interface BufferManagerpublic DrillBuf getManagedBuffer()
getManagedBuffer in interface BufferManagerpublic DrillBuf getManagedBuffer(int size)
getManagedBuffer in interface BufferManagerCopyright © 2017 The Apache Software Foundation. All rights reserved.