@ThreadSafe
public static class DataWriter.Factory
extends java.lang.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 java.io.IOException
context - the file system contextblockId - the block IDblockSize - the block size in bytesaddress - the Alluxio worker addressoptions - the out stream optionsDataWriter instancejava.io.IOExceptionCopyright © 2022. All Rights Reserved.