@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, write
protected UnderFileSystemFileOutStream(DataWriter dataWriter, WorkerNetAddress address)
UnderFileSystemFileOutStream
with only one DataWriter
.dataWriter
- the data writerpublic static UnderFileSystemFileOutStream create(FileSystemContext context, 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 optionsIOException
Copyright © 2023. All Rights Reserved.