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