public class ByteBufferUtils extends Object
Constructor and Description |
---|
ByteBufferUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
free(ByteBuffer buffer)
Releases memory held by the given direct ByteBuffer
|
static void |
unmap(MappedByteBuffer buffer)
Un-maps the given memory mapped file
|
public static void free(ByteBuffer buffer)
buffer
- buffer to freepublic static void unmap(MappedByteBuffer buffer)
buffer
- bufferCopyright © 2011–2017. All rights reserved.