public final MappedByteBuffer force ( ) { checkMapped ( ) ; if ( ( address != 0 ) && ( capacity ( ) != 0 ) ) { long offset = mappingOffset ( ) ; force0 ( fd , mappingAddress ( offset ) , mappingLength ( offset ) ) ; } return this ; }
Forces any changes made to this buffer s content to be written to the storage device containing the mapped file .