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