|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.resources.NIOUtilities
public final class NIOUtilities
Utility class for managing memory mapped buffers.
Method Summary | |
---|---|
static boolean |
clean(java.nio.ByteBuffer buffer)
Really closes a MappedByteBuffer without the need to wait for garbage
collection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static boolean clean(java.nio.ByteBuffer buffer)
MappedByteBuffer
without the need to wait for garbage
collection. Any problems with closing a buffer on Windows (the problem child in this
case) will be logged as SEVERE
to the logger of the package name. To
force logging of errors, set the System property "org.geotools.io.debugBuffer" to "true".
buffer
- The buffer to close.
MappedByteBuffer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |