Class ClusterTopology
java.lang.Object
com.couchbase.client.core.topology.ClusterTopology
- Direct Known Subclasses:
ClusterTopologyWithBucket
-
Constructor Summary
ModifierConstructorDescriptionprotected
ClusterTopology
(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector) -
Method Summary
Modifier and TypeMethodDescriptionboolean
hasCapability
(ClusterCapability capability) boolean
isTls()
network()
nodes()
static ClusterTopology
of
(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, BucketTopology bucket) revision()
toString()
-
Constructor Details
-
ClusterTopology
protected ClusterTopology(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector)
-
-
Method Details
-
of
public static ClusterTopology of(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable BucketTopology bucket) -
revision
-
nodes
-
network
-
hasCapability
-
capabilities
-
isTls
public boolean isTls() -
requireBucket
-
toString
-