Class ClusterTopology
java.lang.Object
com.couchbase.client.core.topology.ClusterTopology
- Direct Known Subclasses:
ClusterTopologyWithBucket
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedClusterTopology(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable ClusterIdentifier clusterIdent) -
Method Summary
Modifier and TypeMethodDescriptionbooleanhasCapability(ClusterCapability capability) @Nullable ClusterIdentifierid()booleanisTls()com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNodejson()network()nodes()static ClusterTopologyof(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, TopologyRevision revision, @Nullable ClusterIdentifier clusterIdent, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable BucketTopology bucket) revision()toString()
-
Constructor Details
-
ClusterTopology
protected ClusterTopology(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable ClusterIdentifier clusterIdent)
-
-
Method Details
-
of
public static ClusterTopology of(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, TopologyRevision revision, @Nullable ClusterIdentifier clusterIdent, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable BucketTopology bucket) -
json
public com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json() -
revision
-
nodes
-
network
-
hasCapability
-
capabilities
-
isTls
public boolean isTls() -
requireBucket
-
id
-
toString
-