public final class DirectByteBufferDeallocator extends Object
DirectByteBufferDeallocator
Utility class used to free direct buffer memory.Modifier and Type | Method and 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 © 2021 JBoss by Red Hat. All rights reserved.