@PublicApi @NotThreadSafe public final class BlockLocationInfo extends Object
Constructor and Description |
---|
BlockLocationInfo(FileBlockInfo blockInfo,
List<WorkerNetAddress> locations) |
Modifier and Type | Method and Description |
---|---|
FileBlockInfo |
getBlockInfo() |
List<WorkerNetAddress> |
getLocations() |
public BlockLocationInfo(FileBlockInfo blockInfo, List<WorkerNetAddress> locations)
blockInfo
- the block infolocations
- the addresses of the workers containing the blockpublic FileBlockInfo getBlockInfo()
public List<WorkerNetAddress> getLocations()
Copyright © 2023. All Rights Reserved.