Constructor and Description |
---|
NodeInfo(String hostname,
Map<ServiceType,Integer> direct,
Map<ServiceType,Integer> ssl,
Map<String,AlternateAddress> alternateAddresses)
Creates a new
NodeInfo with SSL services. |
NodeInfo(String viewUri,
String hostname,
Map<String,Integer> ports,
Map<String,AlternateAddress> alternateAddresses)
Creates a new
NodeInfo with no SSL services. |
Modifier and Type | Method and Description |
---|---|
Map<String,AlternateAddress> |
alternateAddresses() |
String |
hostname() |
NodeIdentifier |
identifier() |
Map<ServiceType,Integer> |
services() |
Map<ServiceType,Integer> |
sslServices() |
String |
toString() |
public NodeInfo(String viewUri, String hostname, Map<String,Integer> ports, Map<String,AlternateAddress> alternateAddresses)
NodeInfo
with no SSL services.viewUri
- the URI of the view service.hostname
- the hostname of the node.ports
- the port list of the node services.public NodeInfo(String hostname, Map<ServiceType,Integer> direct, Map<ServiceType,Integer> ssl, Map<String,AlternateAddress> alternateAddresses)
NodeInfo
with SSL services.hostname
- the hostname of the node.direct
- the port list of the direct node services.ssl
- the port list of the ssl node services.public String hostname()
public NodeIdentifier identifier()
public Map<ServiceType,Integer> services()
public Map<ServiceType,Integer> sslServices()
public Map<String,AlternateAddress> alternateAddresses()
Copyright © 2020 Couchbase, Inc.. All rights reserved.