@InterfaceAudience.Private
public interface ByteBufferAllocator
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
allocate(long size)
Allocates a bytebuffer
|
ByteBuffer allocate(long size) throws IOException
size
- the size of the bytebufferIOException
- exception thrown if there is an error while creating the ByteBufferCopyright © 2007–2019 Cloudera. All rights reserved.