@PublicApi public final class GetWorkerOptions extends Object
BlockLocationPolicy.getWorker(GetWorkerOptions).| Modifier and Type | Method and Description |
|---|---|
static GetWorkerOptions |
defaults() |
boolean |
equals(Object o) |
alluxio.wire.BlockInfo |
getBlockInfo() |
Iterable<BlockWorkerInfo> |
getBlockWorkerInfos() |
int |
hashCode() |
GetWorkerOptions |
setBlockInfo(alluxio.wire.BlockInfo blockInfo) |
GetWorkerOptions |
setBlockWorkerInfos(List<BlockWorkerInfo> blockWorkerInfos) |
String |
toString() |
public static GetWorkerOptions defaults()
GetWorkerOptionspublic alluxio.wire.BlockInfo getBlockInfo()
public Iterable<BlockWorkerInfo> getBlockWorkerInfos()
public GetWorkerOptions setBlockInfo(alluxio.wire.BlockInfo blockInfo)
blockInfo - the block informationpublic GetWorkerOptions setBlockWorkerInfos(List<BlockWorkerInfo> blockWorkerInfos)
blockWorkerInfos - the block worker infosCopyright © 2024. All Rights Reserved.