@InterfaceAudience.Public @InterfaceStability.Evolving public interface Syncable
Modifier and Type | Method and 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 IOException
IOException
hflush()
void hflush() throws IOException
IOException
- if any error occursvoid hsync() throws IOException
IOException
- if error occursCopyright © 2017 Apache Software Foundation. All Rights Reserved.