org.apache.flume.tools
Class DirectMemoryUtils
java.lang.Object
org.apache.flume.tools.DirectMemoryUtils
public class DirectMemoryUtils
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DirectMemoryUtils
public DirectMemoryUtils()
allocate
public static ByteBuffer allocate(int size)
clean
public static void clean(ByteBuffer buffer)
throws Exception
- Throws:
Exception
getDirectMemorySize
public static long getDirectMemorySize()
Copyright © 2009-2015 Apache Software Foundation. All Rights Reserved.