public class ExtendedMapMode extends Object
Modifier and Type | Field | Description |
---|---|---|
static final FileChannel.MapMode |
READ_ONLY_SYNC |
File mapping mode for a read-only mapping of a file backed by non-volatile RAM. |
static final FileChannel.MapMode |
READ_WRITE_SYNC |
File mapping mode for a read-write mapping of a file backed by non-volatile RAM. |
public static final FileChannel.MapMode READ_ONLY_SYNC
The map method throws UnsupportedOperationException when this map mode is used on an implementation that does not support it.
MAP_SYNC
and
MAP_SHARED_VALIDATE
flags are specified to mmap
when mapping the file into memory.public static final FileChannel.MapMode READ_WRITE_SYNC
The map method throws UnsupportedOperationException when this map mode is used on an implementation that does not support it.
MAP_SYNC
and
MAP_SHARED_VALIDATE
flags are specified to mmap
when mapping the file into memory.
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/jdk.nio.mapmode/jdk/nio/mapmode/ExtendedMapMode.html