public interface Syncable
|Modifier and Type||Method and Description|
Sync the file to disk.
void sync() throws IOException
fsyncand syncs all underlying OS buffers for this file descriptor to disk. On these platforms, if this method returns, the data written to this instance is guaranteed to be persisted on disk.
IOException- - if an error occurred while attempting to sync the data to disk.
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.