Uses of Class
com.couchbase.client.core.topology.HostAndServicePorts
-
Uses of HostAndServicePorts in com.couchbase.client.core.topology
Modifier and TypeFieldDescriptionstatic final HostAndServicePorts
HostAndServicePorts.INACCESSIBLE
Modifier and TypeMethodDescriptionMemcachedBucketTopology.nodeForKey
(byte[] id) HostAndServicePorts.withKetamaAuthority
(HostAndPort ketamaAuthority) HostAndServicePorts.without
(ServiceType service, ServiceType... moreServices) Modifier and TypeMethodDescriptionPartitionMap.active
(int partition) Returns info about the node hosting the active instance of the given partition (vBucket), or empty if the active is not currently available or there is no such partition.PartitionTopology.active()
PartitionMap.availableReplicas
(int partition) Returns info about the nodes hosting replica instances of the given partition (vBucket), or empty if no replicas are currently available or there is no such partition.PartitionTopology.availableReplicas()
BucketTopology.nodes()
Returns the subset of cluster nodes that are ready to service requests for this bucket.ClusterTopology.nodes()
Modifier and TypeMethodDescriptionstatic ClusterTopology
ClusterTopology.of
(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, BucketTopology bucket) static BucketTopology
BucketTopology.parse
(com.couchbase.client.core.deps.com.fasterxml.jackson.databind.node.ObjectNode json, List<HostAndServicePorts> nodes, MemcachedHashingStrategy memcachedHashingStrategy) static PartitionTopology
PartitionTopology.parse
(List<HostAndServicePorts> allNodes, List<Integer> partitionNodeIndexes) NetworkSelector.AutoNetworkSelector.selectNetwork
(List<Map<NetworkResolution, HostAndServicePorts>> nodes) NetworkSelector.selectNetwork
(List<Map<NetworkResolution, HostAndServicePorts>> nodes) ModifierConstructorDescriptionPartitionTopology
(HostAndServicePorts active, List<HostAndServicePorts> availableReplicas, List<Integer> rawNodeIndexes) ModifierConstructorDescriptionprotected
ClusterTopology
(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector) CouchbaseBucketTopology
(String name, String uuid, Set<BucketCapability> capabilities, List<HostAndServicePorts> nodes, boolean ephemeral, int replicas, PartitionMap partitions, PartitionMap partitionsForward) MemcachedBucketTopology
(String uuid, String name, Set<BucketCapability> capabilities, List<HostAndServicePorts> nodes, KetamaRing<HostAndServicePorts> ketamaRing, MemcachedHashingStrategy hashingStrategy) MemcachedBucketTopology
(String uuid, String name, Set<BucketCapability> capabilities, List<HostAndServicePorts> nodes, KetamaRing<HostAndServicePorts> ketamaRing, MemcachedHashingStrategy hashingStrategy) PartitionTopology
(HostAndServicePorts active, List<HostAndServicePorts> availableReplicas, List<Integer> rawNodeIndexes)