Uses of Class
com.couchbase.client.core.topology.HostAndServicePorts
Packages that use HostAndServicePorts
-
Uses of HostAndServicePorts in com.couchbase.client.core.topology
Fields in com.couchbase.client.core.topology declared as HostAndServicePortsModifier and TypeFieldDescriptionstatic final HostAndServicePorts
HostAndServicePorts.INACCESSIBLE
Methods in com.couchbase.client.core.topology that return HostAndServicePortsModifier and TypeMethodDescriptionClusterTopologyBuilder.NodeBuilder.build()
MemcachedBucketTopology.nodeForKey
(byte[] id) HostAndServicePorts.withKetamaAuthority
(@Nullable HostAndPort ketamaAuthority) HostAndServicePorts.without
(ServiceType service, ServiceType... moreServices) Methods in com.couchbase.client.core.topology that return types with arguments of type HostAndServicePortsModifier 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()
Method parameters in com.couchbase.client.core.topology with type arguments of type HostAndServicePortsModifier and TypeMethodDescriptionstatic ClusterTopology
ClusterTopology.of
(TopologyRevision revision, @Nullable ClusterIdentifier clusterIdent, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable BucketTopology bucket) static @Nullable 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) Constructors in com.couchbase.client.core.topology with parameters of type HostAndServicePortsModifierConstructorDescriptionPartitionTopology
(@Nullable HostAndServicePorts active, List<HostAndServicePorts> availableReplicas, List<Integer> rawNodeIndexes) Constructor parameters in com.couchbase.client.core.topology with type arguments of type HostAndServicePortsModifierConstructorDescriptionprotected
ClusterTopology
(TopologyRevision revision, List<HostAndServicePorts> nodes, Set<ClusterCapability> capabilities, NetworkResolution network, PortSelector portSelector, @Nullable ClusterIdentifier clusterIdent) CouchbaseBucketTopology
(String name, String uuid, Set<BucketCapability> capabilities, List<HostAndServicePorts> nodes, boolean ephemeral, int replicas, PartitionMap partitions, @Nullable 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
(@Nullable HostAndServicePorts active, List<HostAndServicePorts> availableReplicas, List<Integer> rawNodeIndexes)