Package org.jboss.netty.util.internal
Class ByteBufferUtil
java.lang.Object
org.jboss.netty.util.internal.ByteBufferUtil
This is fork of ElasticSearch's ByteBufferAllocator.Cleaner class
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
destroy
(ByteBuffer buffer) Destroy the givenByteBuffer
if possible
-
Field Details
-
CLEAN_SUPPORTED
private static final boolean CLEAN_SUPPORTED -
directBufferCleaner
-
directBufferCleanerClean
-
-
Constructor Details
-
ByteBufferUtil
private ByteBufferUtil()
-
-
Method Details
-
destroy
Destroy the givenByteBuffer
if possible
-