@ThreadSafe public class MasterNetAddress extends Object
Constructor and Description |
---|
MasterNetAddress(String hostname,
int rpcPort,
int webPort,
int embeddedJournalPort) |
Modifier and Type | Method and Description |
---|---|
int |
getEmbeddedJournalPort() |
String |
getHostname() |
int |
getRpcPort() |
int |
getWebPort() |
String |
toString() |
public MasterNetAddress(String hostname, int rpcPort, int webPort, int embeddedJournalPort)
hostname
- master hostnamerpcPort
- master RPC portwebPort
- master web portembeddedJournalPort
- embedded journal portpublic String getHostname()
public int getRpcPort()
public int getWebPort()
public int getEmbeddedJournalPort()
Copyright © 2023. All Rights Reserved.