BufferedIOStatisticsOutputStream, CryptoFSDataOutputStream, CryptoOutputStream, FSDataOutputStream, SequenceFile.Writer@Public
@Stable
public interface Syncable
| Modifier and Type | Method | Description |
|---|---|---|
void |
hflush() |
Flush out the data in client's user buffer.
|
void |
hsync() |
Similar to posix fsync, flush out the data in client's user buffer
all the way to the disk device (but the disk may have it in its cache).
|
void |
sync() |
Deprecated.
As of HADOOP 0.21.0, replaced by hflush
|
@Deprecated void sync() throws java.io.IOException
java.io.IOExceptionhflush()void hflush()
throws java.io.IOException
java.io.IOException - if any error occursvoid hsync()
throws java.io.IOException
java.io.IOException - if error occursCopyright © 2008–2025 Apache Software Foundation. All rights reserved.