public final class MappedByteBufferHandler extends Object implements AutoCloseable
MappedByteBuffer
s 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 AutoCloseable
Copyright © 2011–2017. All rights reserved.