@ThreadSafe public static class DataWriter.Factory extends Object
DataWriter
.Modifier and Type | Field and Description |
---|---|
static org.slf4j.Logger |
LOG |
Modifier and Type | Method and Description |
---|---|
static DataWriter |
create(FileSystemContext context,
long blockId,
long blockSize,
WorkerNetAddress address,
OutStreamOptions options) |
public static DataWriter create(FileSystemContext context, long blockId, long blockSize, WorkerNetAddress address, OutStreamOptions options) throws IOException
context
- the file system contextblockId
- the block IDblockSize
- the block size in bytesaddress
- the Alluxio worker addressoptions
- the out stream optionsDataWriter
instanceIOException
Copyright © 2023. All Rights Reserved.