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