Do the operations in java.nio.files.Files sync or not?

Tim Fox timvolpe at gmail.com
Tue Aug 2 01:23:21 PDT 2011


Hello all,

I'm looking at the javadoc for the new Files class in Java 7:

http://download.oracle.com/javase/7/docs/api/

For the operations that make changes on disk, it's not clear to me if 
the changes are automatically sync'd to disk or not before the operation 
completes. There don't seem to be any parameters to control this.



Can anyone advise?

Thanks


More information about the nio-discuss mailing list