java.lang.Object |
↳ |
org.apache.directmemory.memory.allocator.DirectByteBufferUtils |
Class Overview
Utility class around direct ByteBuffer
Summary
Public Methods |
static
void
|
destroyDirectByteBuffer(ByteBuffer buffer)
Clear and release the internal content of a direct ByteBuffer.
|
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
Public Constructors
public
DirectByteBufferUtils
()
Public Methods
public
static
void
destroyDirectByteBuffer
(ByteBuffer buffer)
Clear and release the internal content of a direct ByteBuffer.
Clearing manually the content avoid waiting till the GC do his job.
Parameters
buffer
| : the buffer to clear |