@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,
alluxio.wire.WorkerNetAddress address,
OutStreamOptions options) |
public static DataWriter create(FileSystemContext context, long blockId, long blockSize, alluxio.wire.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 instanceIOExceptionCopyright © 2024. All Rights Reserved.