public class DoraOutStream extends FileOutStream
mBytesWritten
Constructor and Description |
---|
DoraOutStream(AlluxioURI path,
OutStreamOptions options,
FileSystemContext context,
String uuid,
DoraCacheClient doraClient)
Creates a new file output stream.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
write(int b) |
cancel, getBytesWritten
flush, write, write
public DoraOutStream(AlluxioURI path, OutStreamOptions options, FileSystemContext context, String uuid, DoraCacheClient doraClient) throws IOException
path
- the file pathoptions
- the client optionscontext
- the file system contextuuid
- the uuid of its file open filedoraClient
- the client saved to do close()IOException
public void write(int b) throws IOException
write
in class OutputStream
IOException
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in class OutputStream
Copyright © 2023. All Rights Reserved.