Uses of Class
org.apache.pulsar.common.naming.NamespaceName
Packages that use NamespaceName
Package
Description
Classes to work different configuration values.
Common policies.
Implementation of policies.
-
Uses of NamespaceName in org.apache.pulsar.common.naming
Fields in org.apache.pulsar.common.naming declared as NamespaceNameMethods in org.apache.pulsar.common.naming that return NamespaceNameModifier and TypeMethodDescriptionstatic NamespaceNamestatic NamespaceNamestatic NamespaceNameNamespaceName.getNamespaceObject()ServiceUnitId.getNamespaceObject()Return the namespace object that thisServiceUnitIdbelongs to.TopicName.getNamespaceObject()Get the namespace object that this completeTopicName belongs to.Methods in org.apache.pulsar.common.naming that return types with arguments of type NamespaceNameModifier and TypeMethodDescriptionstatic Optional<NamespaceName>NamespaceName.getIfValid(String namespace) Methods in org.apache.pulsar.common.naming with parameters of type NamespaceNameModifier and TypeMethodDescriptionstatic TopicNameTopicName.get(String domain, NamespaceName namespaceName, String topic) -
Uses of NamespaceName in org.apache.pulsar.common.policies
Methods in org.apache.pulsar.common.policies with parameters of type NamespaceNameModifier and TypeMethodDescriptionNamespaceIsolationPolicy.findPrimaryBrokers(List<URL> availableBrokers, NamespaceName namespace) Get the list of primary brokers for the namespace according to the policy.NamespaceIsolationPolicy.findSecondaryBrokers(List<URL> availableBrokers, NamespaceName namespace) Get the list of secondary brokers for the namespace according to the policy. -
Uses of NamespaceName in org.apache.pulsar.common.policies.impl
Methods in org.apache.pulsar.common.policies.impl with parameters of type NamespaceNameModifier and TypeMethodDescriptionvoidNamespaceIsolationPolicies.assignBroker(NamespaceName nsname, org.apache.pulsar.common.policies.data.BrokerStatus brkStatus, SortedSet<org.apache.pulsar.common.policies.data.BrokerStatus> primaryCandidates, SortedSet<org.apache.pulsar.common.policies.data.BrokerStatus> secondaryCandidates, SortedSet<org.apache.pulsar.common.policies.data.BrokerStatus> sharedCandidates) NamespaceIsolationPolicyImpl.findPrimaryBrokers(List<URL> availableBrokers, NamespaceName namespace) NamespaceIsolationPolicyImpl.findSecondaryBrokers(List<URL> availableBrokers, NamespaceName namespace) NamespaceIsolationPolicies.getPolicyByNamespace(NamespaceName namespace) Get the namespace isolation policy for the specified namespace.