public final class DirectByteBufferDeallocator extends Object
DirectByteBufferDeallocator Utility class used to free direct buffer memory.| Modifier and Type | Method | Description |
|---|---|---|
static void |
free(ByteBuffer buffer) |
Attempts to deallocate the underlying direct memory.
|
public static void free(ByteBuffer buffer)
ByteBuffer.isDirect() returns false.buffer - to deallocateCopyright © 2018. All rights reserved.