If true, the write will be flushed from the operating system buffer cache (by calling WritableFile::Sync()) before the write is considered complete. If this flag is true, writes will be slower. If this flag is false, and the machine crashes, some recent writes may be lost. Note that if it is just
(final boolean flag)
| 62 | * @return the instance of the current WriteOptions. |
| 63 | */ |
| 64 | public WriteOptions setSync(final boolean flag) { |
| 65 | setSync(nativeHandle_, flag); |
| 66 | return this; |
| 67 | } |
| 68 | |
| 69 | /** |
| 70 | * If true, the write will be flushed from the operating system |
no outgoing calls