public final class MappedByteBufferHandler extends Object implements AutoCloseable
MappedByteBuffers which don't implement AutoCloseable.
This interface is a specialization of io.druid.collections.ResourceHandler.
FileUtils.map(java.io.File)| Modifier and Type | Method and Description |
|---|---|
void |
close()
Unmaps the wrapped buffer.
|
MappedByteBuffer |
get()
Returns the wrapped buffer.
|
public MappedByteBuffer get()
public void close()
close in interface AutoCloseableCopyright © 2011–2017. All rights reserved.