public class MembershipManagerWorkerProvider extends Object implements WorkerProvider
Constructor and Description |
---|
MembershipManagerWorkerProvider(MembershipManager membershipMgr,
FileSystemContext context)
CTOR for MembershipManagerWorkerProvider.
|
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.
|
public MembershipManagerWorkerProvider(MembershipManager membershipMgr, FileSystemContext context)
membershipMgr
- context
- public List<WorkerInfo> getWorkerInfos()
WorkerProvider
getWorkerInfos
in interface WorkerProvider
public List<WorkerInfo> getLiveWorkerInfos()
WorkerProvider
getLiveWorkerInfos
in interface WorkerProvider
public CloseableResource<BlockWorkerClient> getWorkerClient(WorkerNetAddress address)
WorkerProvider
getWorkerClient
in interface WorkerProvider
address
- the worker addressCopyright © 2023. All Rights Reserved.