Package com.couchbase.client.core.config
Interface AlternateAddress
- All Known Implementing Classes:
DefaultAlternateAddress
public interface AlternateAddress
-
Method Summary
Modifier and Type Method Description String
hostname()
The "raw" hostname address of the node.Map<ServiceType,Integer>
services()
The exposed non-ssl services.Map<ServiceType,Integer>
sslServices()
The exposed ssl services.
-
Method Details
-
hostname
String hostname()The "raw" hostname address of the node.- Returns:
- the host address.
-
services
Map<ServiceType,Integer> services()The exposed non-ssl services.- Returns:
- a map containing all services with ports.
-
sslServices
Map<ServiceType,Integer> sslServices()The exposed ssl services.- Returns:
- a map containing all services with secured ports.
-