public static final class RecordReaderUtils.ByteBufferAllocatorPool extends Object implements HadoopShims.ByteBufferPoolShim
| Constructor and Description | 
|---|
| ByteBufferAllocatorPool() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | clear() | 
| ByteBuffer | getBuffer(boolean direct,
         int length) | 
| void | putBuffer(ByteBuffer buffer) | 
public void clear()
public ByteBuffer getBuffer(boolean direct, int length)
getBuffer in interface HadoopShims.ByteBufferPoolShimpublic void putBuffer(ByteBuffer buffer)
putBuffer in interface HadoopShims.ByteBufferPoolShimCopyright © 2013–2023 The Apache Software Foundation. All rights reserved.