public class LocalSyncableFileSystem.LocalSyncableOutputStream extends OutputStream implements org.apache.hadoop.fs.Syncable
| Constructor and Description |
|---|
LocalSyncableOutputStream(org.apache.hadoop.fs.Path path) |
| Modifier and Type | Method and Description |
|---|---|
void |
hflush() |
void |
hsync() |
void |
sync() |
void |
write(int b) |
close, flush, write, writepublic LocalSyncableOutputStream(org.apache.hadoop.fs.Path path)
throws FileNotFoundException
FileNotFoundExceptionpublic void sync()
throws IOException
IOExceptionpublic void hsync()
throws IOException
hsync in interface org.apache.hadoop.fs.SyncableIOExceptionpublic void hflush()
throws IOException
hflush in interface org.apache.hadoop.fs.SyncableIOExceptionpublic void write(int b)
throws IOException
write in class OutputStreamIOExceptionCopyright © 2022 The Apache Software Foundation. All rights reserved.