public class HostWorker
extends org.apache.dolphinscheduler.remote.utils.Host
| Constructor and Description |
|---|
HostWorker(String ip,
int port,
int hostWeight,
String workerGroup) |
HostWorker(String address,
int hostWeight,
String workerGroup) |
| Modifier and Type | Method and Description |
|---|---|
int |
getHostWeight() |
String |
getWorkerGroup() |
static HostWorker |
of(String address,
int hostWeight,
String workerGroup) |
void |
setHostWeight(int hostWeight) |
void |
setWorkerGroup(String workerGroup) |
String |
toString() |
public int getHostWeight()
public void setHostWeight(int hostWeight)
public String getWorkerGroup()
public void setWorkerGroup(String workerGroup)
public static HostWorker of(String address, int hostWeight, String workerGroup)
public String toString()
toString in class org.apache.dolphinscheduler.remote.utils.HostCopyright © 2022 The Apache Software Foundation. All rights reserved.