Package org.jboss.netty.util.internal
Class ByteBufferUtil
- java.lang.Object
-
- org.jboss.netty.util.internal.ByteBufferUtil
-
public final class ByteBufferUtil extends java.lang.ObjectThis is fork of ElasticSearch's ByteBufferAllocator.Cleaner class
-
-
Field Summary
Fields Modifier and Type Field Description private static booleanCLEAN_SUPPORTEDprivate static java.lang.reflect.MethoddirectBufferCleanerprivate static java.lang.reflect.MethoddirectBufferCleanerClean
-
Constructor Summary
Constructors Modifier Constructor Description privateByteBufferUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voiddestroy(java.nio.ByteBuffer buffer)Destroy the givenByteBufferif possible
-