public class LowerWeightHostManager extends CommonHostManager
serverNodeManager| Constructor and Description |
|---|
LowerWeightHostManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
init() |
HostWorker |
select(Collection<HostWorker> nodes) |
org.apache.dolphinscheduler.remote.utils.Host |
select(ExecutionContext context)
select host
|
getWorkerCandidates, getWorkerHostWeightFromHeartbeat@PostConstruct public void init()
@PreDestroy public void close()
public org.apache.dolphinscheduler.remote.utils.Host select(ExecutionContext context)
select in interface HostManagerselect in class CommonHostManagercontext - contextpublic HostWorker select(Collection<HostWorker> nodes)
select in class CommonHostManagerCopyright © 2022 The Apache Software Foundation. All rights reserved.