public abstract class CommonHostManager extends Object implements HostManager
| Modifier and Type | Field and Description |
|---|---|
protected ServerNodeManager |
serverNodeManager
server node manager
|
| Constructor and Description |
|---|
CommonHostManager() |
| Modifier and Type | Method and Description |
|---|---|
protected List<HostWorker> |
getWorkerCandidates(String workerGroup) |
protected int |
getWorkerHostWeightFromHeartbeat(String heartBeatInfo) |
protected abstract HostWorker |
select(Collection<HostWorker> nodes) |
org.apache.dolphinscheduler.remote.utils.Host |
select(ExecutionContext context)
select host
|
@Autowired protected ServerNodeManager serverNodeManager
public org.apache.dolphinscheduler.remote.utils.Host select(ExecutionContext context)
select in interface HostManagercontext - contextprotected abstract HostWorker select(Collection<HostWorker> nodes)
protected List<HostWorker> getWorkerCandidates(String workerGroup)
protected int getWorkerHostWeightFromHeartbeat(String heartBeatInfo)
Copyright © 2022 The Apache Software Foundation. All rights reserved.