public interface WorkerProvider
Modifier and Type | Method and Description |
---|---|
List<WorkerInfo> |
getLiveWorkerInfos()
Get live workerInfo list.
|
CloseableResource<BlockWorkerClient> |
getWorkerClient(WorkerNetAddress address)
Gets a worker client.
|
List<WorkerInfo> |
getWorkerInfos()
Gets a list of worker information.
|
List<WorkerInfo> getWorkerInfos()
AlluxioRuntimeException
- if failed to get worker informationList<WorkerInfo> getLiveWorkerInfos() throws UnavailableException
UnavailableException
CloseableResource<BlockWorkerClient> getWorkerClient(WorkerNetAddress address)
address
- the worker addressAlluxioRuntimeException
- if failed to get worker clientCopyright © 2023. All Rights Reserved.