public interface NodeInfo
Modifier and Type | Method and Description |
---|---|
Map<String,AlternateAddress> |
alternateAddresses()
Contains alternate addresses, if set.
|
NetworkAddress |
hostname()
The inet address of the node.
|
String |
rawHostname()
Contains the string representation from the hostname the same way it is represented in the config.
|
Map<ServiceType,Integer> |
services()
The exposed non-ssl services.
|
Map<ServiceType,Integer> |
sslServices()
The exposed ssl services.
|
String |
useAlternateNetwork()
True if alternate addresses should be used, false otherwise.
|
void |
useAlternateNetwork(String useAlternateNetwork)
Setter to set if external networking should be used or not.
|
NetworkAddress hostname()
The inet address of the node.
String rawHostname()
Contains the string representation from the hostname the same way it is represented in the config.
Map<ServiceType,Integer> services()
The exposed non-ssl services.
Map<ServiceType,Integer> sslServices()
The exposed ssl services.
Map<String,AlternateAddress> alternateAddresses()
Contains alternate addresses, if set.
String useAlternateNetwork()
True if alternate addresses should be used, false otherwise.
@InterfaceAudience.Private void useAlternateNetwork(String useAlternateNetwork)
Setter to set if external networking should be used or not.
useAlternateNetwork
- if not null will be used.Copyright © 2018 Couchbase, Inc.. All rights reserved.