@Immutable public class DirectByteBufferAllocator extends Object implements ByteBufferAllocator
ByteBuffer instances using
ByteBuffer.allocateDirect(int).| Constructor and Description |
|---|
DirectByteBufferAllocator() |
public ByteBuffer allocate(int size)
ByteBufferAllocatorByteBuffer of the given size.allocate in interface ByteBufferAllocatorsize - the size of the buffer.Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.