@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 hflush() throws IOException
IOException
- if any error occursvoid hsync() throws IOException
IOException
- if error occursCopyright © 2018 Apache Software Foundation. All rights reserved.