public class DirectByteBufferPool$
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static DirectByteBufferPool$ |
MODULE$
Static reference to the singleton instance of this Scala object.
|
Constructor and Description |
---|
DirectByteBufferPool$() |
Modifier and Type | Method and Description |
---|---|
void |
tryCleanDirectByteBuffer(java.nio.ByteBuffer byteBuffer)
DirectByteBuffers are garbage collected by using a phantom reference and a
reference queue.
|
public static final DirectByteBufferPool$ MODULE$
public void tryCleanDirectByteBuffer(java.nio.ByteBuffer byteBuffer)
Utilizes reflection to avoid dependency to sun.misc.Cleaner
.
byteBuffer
- (undocumented)