public interface Node
Modifier and Type | Method and Description |
---|---|
String |
host()
Returns the host name of the controller instance.
|
NodeId |
id()
Returns the instance identifier.
|
default IpAddress |
ip()
Returns the IP address of the controller instance.
|
IpAddress |
ip(boolean resolve)
Returns the IP address of the controller instance.
|
int |
tcpPort()
Returns the TCP port on which the node listens for connections.
|
NodeId id()
default IpAddress ip()
IpAddress ip(boolean resolve)
resolve
- whether to resolve the hostnameString host()
int tcpPort()