Class ExtendedMapMode
java.lang.Object
jdk.nio.mapmode.ExtendedMapMode
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final FileChannel.MapModeFile mapping mode for a read-only mapping of a file backed by non-volatile RAM.static final FileChannel.MapModeFile mapping mode for a read-write mapping of a file backed by non-volatile RAM.
- 
Method Summary
- 
Field Details- 
READ_ONLY_SYNCFile mapping mode for a read-only mapping of a file backed by non-volatile RAM.The map method throws UnsupportedOperationException when this map mode is used on an implementation that does not support it. - Implementation Note:
- On Linux, the MAP_SYNCandMAP_SHARED_VALIDATEflags are specified tommapwhen mapping the file into memory.
 
- 
READ_WRITE_SYNCFile mapping mode for a read-write mapping of a file backed by non-volatile RAM. force operations on a buffer created with this mode will be performed using cache line writeback rather than proceeding via a file device flush.The map method throws UnsupportedOperationException when this map mode is used on an implementation that does not support it. - Implementation Note:
- On Linux, the MAP_SYNCandMAP_SHARED_VALIDATEflags are specified tommapwhen mapping the file into memory.
 
 
-