public class DefaultAlternateAddress extends Object implements AlternateAddress
Constructor and Description |
---|
DefaultAlternateAddress(String hostname,
Map<String,Integer> ports) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
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 |
toString() |
public NetworkAddress hostname()
AlternateAddress
hostname
in interface AlternateAddress
public String rawHostname()
AlternateAddress
rawHostname
in interface AlternateAddress
public Map<ServiceType,Integer> services()
AlternateAddress
services
in interface AlternateAddress
public Map<ServiceType,Integer> sslServices()
AlternateAddress
sslServices
in interface AlternateAddress
Copyright © 2019 Couchbase, Inc.. All rights reserved.