@PublicApi @NotThreadSafe public final class WorkerNetAddress extends Object implements Serializable
Constructor and Description |
---|
WorkerNetAddress()
Creates a new instance of
WorkerNetAddress . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
getDataPort() |
String |
getDomainSocketPath() |
String |
getHost() |
int |
getRpcPort() |
TieredIdentity |
getTieredIdentity() |
int |
getWebPort() |
int |
hashCode() |
WorkerNetAddress |
setDataPort(int dataPort) |
WorkerNetAddress |
setDomainSocketPath(String domainSocketPath) |
WorkerNetAddress |
setHost(String host) |
WorkerNetAddress |
setRpcPort(int rpcPort) |
WorkerNetAddress |
setTieredIdentity(TieredIdentity tieredIdentity) |
WorkerNetAddress |
setWebPort(int webPort) |
String |
toString() |
public WorkerNetAddress()
WorkerNetAddress
.public String getHost()
public int getRpcPort()
public int getDataPort()
public int getWebPort()
public String getDomainSocketPath()
public TieredIdentity getTieredIdentity()
public WorkerNetAddress setHost(String host)
host
- the host to usepublic WorkerNetAddress setRpcPort(int rpcPort)
rpcPort
- the rpc port to usepublic WorkerNetAddress setDataPort(int dataPort)
dataPort
- the data port to usepublic WorkerNetAddress setWebPort(int webPort)
webPort
- the web port to usepublic WorkerNetAddress setDomainSocketPath(String domainSocketPath)
domainSocketPath
- the domain socket pathpublic WorkerNetAddress setTieredIdentity(TieredIdentity tieredIdentity)
tieredIdentity
- the tiered identityCopyright © 2023. All Rights Reserved.