Package | Description |
---|---|
alluxio.client.block | |
alluxio.client.block.policy.options | |
alluxio.client.block.stream | |
alluxio.client.file | |
alluxio.client.file.options | |
alluxio.grpc | |
alluxio.master.block | |
alluxio.wire |
Modifier and Type | Method and Description |
---|---|
BlockInfo |
RetryHandlingBlockMasterClient.getBlockInfo(long blockId) |
BlockInfo |
BlockMasterClient.getBlockInfo(long blockId)
Returns the
BlockInfo for a block id. |
BlockInfo |
BlockStoreClient.getInfo(long blockId)
Gets the block info of a block, if it exists.
|
Modifier and Type | Method and Description |
---|---|
Pair<WorkerNetAddress,BlockInStream.BlockInStreamSource> |
BlockStoreClient.getDataSourceAndType(BlockInfo info,
URIStatus status,
BlockLocationPolicy policy,
Map<WorkerNetAddress,Long> failedWorkers)
Gets the data source and type of data source of a block.
|
BlockInStream |
BlockStoreClient.getInStream(BlockInfo info,
InStreamOptions options,
Map<WorkerNetAddress,Long> failedWorkers)
|
Modifier and Type | Method and Description |
---|---|
BlockInfo |
GetWorkerOptions.getBlockInfo() |
Modifier and Type | Method and Description |
---|---|
GetWorkerOptions |
GetWorkerOptions.setBlockInfo(BlockInfo blockInfo) |
Modifier and Type | Method and Description |
---|---|
static BlockInStream |
BlockInStream.create(FileSystemContext context,
BlockInfo info,
WorkerNetAddress dataSource,
BlockInStream.BlockInStreamSource dataSourceType,
InStreamOptions options)
Creates a
BlockInStream . |
Modifier and Type | Method and Description |
---|---|
BlockInfo |
URIStatus.getBlockInfo(long blockId) |
Modifier and Type | Method and Description |
---|---|
BlockInfo |
InStreamOptions.getBlockInfo(long blockId) |
Modifier and Type | Method and Description |
---|---|
static BlockInfo |
GrpcUtils.fromProto(BlockInfo blockPInfo)
Converts a proto type to a wire type.
|
Modifier and Type | Method and Description |
---|---|
static BlockInfo |
GrpcUtils.toProto(BlockInfo blockInfo)
Converts wire type to proto type.
|
Modifier and Type | Method and Description |
---|---|
BlockInfo |
BlockMaster.getBlockInfo(long blockId) |
BlockInfo |
DefaultBlockMaster.getBlockInfo(long blockId) |
Modifier and Type | Method and Description |
---|---|
List<BlockInfo> |
BlockMaster.getBlockInfoList(List<Long> blockIds)
Retrieves information for the given list of block ids.
|
List<BlockInfo> |
DefaultBlockMaster.getBlockInfoList(List<Long> blockIds) |
Modifier and Type | Method and Description |
---|---|
BlockInfo |
FileBlockInfo.getBlockInfo() |
BlockInfo |
BlockInfo.setBlockId(long blockId) |
BlockInfo |
BlockInfo.setLength(long length) |
BlockInfo |
BlockInfo.setLocations(List<BlockLocation> locations) |
Modifier and Type | Method and Description |
---|---|
FileBlockInfo |
FileBlockInfo.setBlockInfo(BlockInfo blockInfo) |
Copyright © 2023. All Rights Reserved.