| Package | Description |
|---|---|
| alluxio.client.block | |
| alluxio.client.block.stream | |
| alluxio.client.file |
| Modifier and Type | Method and Description |
|---|---|
static AlluxioBlockStore |
AlluxioBlockStore.create(FileSystemContext context)
Creates an Alluxio block store with default local hostname.
|
| Modifier and Type | Method and Description |
|---|---|
static BlockInStream |
BlockInStream.create(FileSystemContext context,
alluxio.wire.BlockInfo info,
alluxio.wire.WorkerNetAddress dataSource,
BlockInStream.BlockInStreamSource dataSourceType,
InStreamOptions options)
Creates a
BlockInStream. |
static DataWriter |
DataWriter.Factory.create(FileSystemContext context,
long blockId,
long blockSize,
alluxio.wire.WorkerNetAddress address,
OutStreamOptions options) |
static BlockOutStream |
BlockOutStream.create(FileSystemContext context,
long blockId,
long blockSize,
alluxio.wire.WorkerNetAddress address,
OutStreamOptions options)
Creates an
BlockOutStream. |
static UfsFallbackLocalFileDataWriter |
UfsFallbackLocalFileDataWriter.create(FileSystemContext context,
alluxio.wire.WorkerNetAddress address,
long blockId,
long blockSize,
OutStreamOptions options) |
static GrpcDataWriter |
GrpcDataWriter.create(FileSystemContext context,
alluxio.wire.WorkerNetAddress address,
long id,
long length,
alluxio.grpc.RequestType type,
OutStreamOptions options) |
static LocalFileDataWriter |
LocalFileDataWriter.create(FileSystemContext context,
alluxio.wire.WorkerNetAddress address,
long blockId,
OutStreamOptions options)
Creates an instance of
LocalFileDataWriter. |
static UnderFileSystemFileOutStream |
UnderFileSystemFileOutStream.create(FileSystemContext context,
alluxio.wire.WorkerNetAddress address,
OutStreamOptions options)
Creates an instance of
UnderFileSystemFileOutStream that writes to a UFS file. |
static BlockInStream |
BlockInStream.createRemoteBlockInStream(FileSystemContext context,
long blockId,
alluxio.wire.WorkerNetAddress address,
BlockInStream.BlockInStreamSource blockSource,
long blockSize,
alluxio.proto.dataserver.Protocol.OpenUfsBlockOptions ufsOptions)
Creates a
BlockInStream to read from a specific remote server. |
static BlockOutStream |
BlockOutStream.createReplicatedBlockOutStream(FileSystemContext context,
long blockId,
long blockSize,
List<alluxio.wire.WorkerNetAddress> workerNetAddresses,
OutStreamOptions options)
Creates a new remote block output stream.
|
| Constructor and Description |
|---|
Factory(FileSystemContext context,
alluxio.wire.WorkerNetAddress address,
long blockId,
long localReaderChunkSize,
InStreamOptions options)
Creates an instance of
LocalFileDataReader.Factory. |
Factory(FileSystemContext context,
alluxio.wire.WorkerNetAddress address,
alluxio.grpc.ReadRequest readRequestPartial)
Creates an instance of
GrpcDataReader.Factory for block reads. |
| Modifier and Type | Field and Description |
|---|---|
protected FileSystemContext |
BaseFileSystem.mFsContext |
| Modifier and Type | Method and Description |
|---|---|
static FileSystemContext |
FileSystemContext.create(alluxio.conf.AlluxioConfiguration conf)
Creates a
FileSystemContext with a null subject. |
static FileSystemContext |
FileSystemContext.create(alluxio.ClientContext clientContext) |
static FileSystemContext |
FileSystemContext.create(Subject subject,
alluxio.conf.AlluxioConfiguration conf) |
static FileSystemContext |
FileSystemContext.create(Subject subject,
alluxio.master.MasterInquireClient masterInquireClient,
alluxio.conf.AlluxioConfiguration alluxioConf)
This method is provided for testing, use the
create(alluxio.conf.AlluxioConfiguration) methods. |
| Modifier and Type | Method and Description |
|---|---|
static BaseFileSystem |
BaseFileSystem.create(FileSystemContext context) |
static FileSystem |
FileSystem.Factory.create(FileSystemContext context) |
static BaseFileSystem |
BaseFileSystem.create(FileSystemContext context,
boolean cachingEnabled) |
| Constructor and Description |
|---|
BaseFileSystem(FileSystemContext fsContext,
boolean cachingEnabled)
Constructs a new base file system.
|
ConfigHashSync(FileSystemContext context)
Constructs a new
ConfigHashSync. |
FileInStream(alluxio.client.file.URIStatus status,
InStreamOptions options,
FileSystemContext context) |
FileOutStream(alluxio.AlluxioURI path,
OutStreamOptions options,
FileSystemContext context)
Creates a new file output stream.
|
FileSystemContextReinitializer(FileSystemContext context)
Creates a new reinitializer for the context.
|
Copyright © 2024. All Rights Reserved.