Code example for MappedByteBuffer

Methods: force

0
			channel = null;
		} 
	} 
 
    public synchronized void flush() throws IOException { 
		buffer.force();
		channel.force(true);
	} 
 
    @Override 
	protected void finalize() throws Throwable { 
		close(); 
	} 
}