@NotThreadSafe public class UnderFileSystemFileOutStream extends BlockOutStream
| Modifier | Constructor and Description |
|---|---|
protected |
UnderFileSystemFileOutStream(DataWriter dataWriter,
WorkerNetAddress address)
Constructs a new
UnderFileSystemFileOutStream with only one DataWriter. |
| Modifier and Type | Method and Description |
|---|---|
static UnderFileSystemFileOutStream |
create(FileSystemContext context,
WorkerNetAddress address,
OutStreamOptions options)
Creates an instance of
UnderFileSystemFileOutStream that writes to a UFS file. |
cancel, close, createReplicatedBlockOutStream, flush, getAddress, remaining, write, write, write, write, writeprotected UnderFileSystemFileOutStream(DataWriter dataWriter, WorkerNetAddress address)
UnderFileSystemFileOutStream with only one DataWriter.dataWriter - the data writerpublic static UnderFileSystemFileOutStream create(FileSystemContext context, WorkerNetAddress address, OutStreamOptions options) throws java.io.IOException
UnderFileSystemFileOutStream that writes to a UFS file.context - the file system contextaddress - the data server addressoptions - the out stream optionsjava.io.IOExceptionCopyright © 2022. All Rights Reserved.