Package com.couchbase.client.core.config
Class NodeInfo
java.lang.Object
com.couchbase.client.core.config.NodeInfo
Default implementation of
NodeInfo.- Since:
- 1.0
- Author:
- Michael Nitschinger
-
Constructor Summary
ConstructorsConstructorDescriptionNodeInfo(String viewUri, String hostname, Map<String, Integer> ports, Map<String, AlternateAddress> alternateAddresses) Creates a newNodeInfowith no SSL services.NodeInfo(String hostname, Map<ServiceType, Integer> direct, Map<ServiceType, Integer> ssl, Map<String, AlternateAddress> alternateAddresses) Creates a newNodeInfowith SSL services. -
Method Summary
-
Constructor Details
-
NodeInfo
public NodeInfo(String viewUri, String hostname, Map<String, Integer> ports, Map<String, AlternateAddress> alternateAddresses) Creates a newNodeInfowith no SSL services.- Parameters:
viewUri- the URI of the view service.hostname- the hostname of the node.ports- the port list of the node services.
-
NodeInfo
public NodeInfo(String hostname, Map<ServiceType, Integer> direct, Map<ServiceType, Integer> ssl, Map<String, AlternateAddress> alternateAddresses) Creates a newNodeInfowith SSL services.- Parameters:
hostname- the hostname of the node.direct- the port list of the direct node services.ssl- the port list of the ssl node services.
-
-
Method Details