public class DirectMemoryUtils extends Object
| Constructor and Description |
|---|
DirectMemoryUtils() |
| Modifier and Type | Method and Description |
|---|---|
static ByteBuffer |
allocate(int size) |
static void |
clean(ByteBuffer buffer) |
static long |
getDirectMemorySize() |
public static ByteBuffer allocate(int size)
public static void clean(ByteBuffer buffer) throws Exception
Exceptionpublic static long getDirectMemorySize()
Copyright © 2009-2022 Apache Software Foundation. All Rights Reserved.