Uses of Class
org.apache.pulsar.common.naming.NamespaceName
-
Packages that use NamespaceName Package Description org.apache.pulsar.common.naming Classes to work different configuration values.org.apache.pulsar.common.policies Common policies.org.apache.pulsar.common.policies.impl Implementation of policies. -
-
Uses of NamespaceName in org.apache.pulsar.common.naming
Fields in org.apache.pulsar.common.naming declared as NamespaceName Modifier and Type Field Description static NamespaceNameNamespaceName. SYSTEM_NAMESPACEMethods in org.apache.pulsar.common.naming that return NamespaceName Modifier and Type Method Description static NamespaceNameNamespaceName. get(java.lang.String namespace)static NamespaceNameNamespaceName. get(java.lang.String tenant, java.lang.String namespace)static NamespaceNameNamespaceName. get(java.lang.String tenant, java.lang.String cluster, java.lang.String namespace)NamespaceNameNamespaceName. getNamespaceObject()NamespaceNameServiceUnitId. getNamespaceObject()Return the namespace object that thisServiceUnitIdbelongs to.NamespaceNameTopicName. getNamespaceObject()Get the namespace object that this completeTopicName belongs to.Methods in org.apache.pulsar.common.naming that return types with arguments of type NamespaceName Modifier and Type Method Description static java.util.Optional<NamespaceName>NamespaceName. getIfValid(java.lang.String namespace)Methods in org.apache.pulsar.common.naming with parameters of type NamespaceName Modifier and Type Method Description static TopicNameTopicName. get(java.lang.String domain, NamespaceName namespaceName, java.lang.String topic) -
Uses of NamespaceName in org.apache.pulsar.common.policies
Methods in org.apache.pulsar.common.policies with parameters of type NamespaceName Modifier and Type Method Description java.util.List<java.net.URL>NamespaceIsolationPolicy. findPrimaryBrokers(java.util.List<java.net.URL> availableBrokers, NamespaceName namespace)Get the list of primary brokers for the namespace according to the policy.java.util.List<java.net.URL>NamespaceIsolationPolicy. findSecondaryBrokers(java.util.List<java.net.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 NamespaceName Modifier and Type Method Description voidNamespaceIsolationPolicies. assignBroker(NamespaceName nsname, org.apache.pulsar.common.policies.data.BrokerStatus brkStatus, java.util.SortedSet<org.apache.pulsar.common.policies.data.BrokerStatus> primaryCandidates, java.util.SortedSet<org.apache.pulsar.common.policies.data.BrokerStatus> secondaryCandidates, java.util.SortedSet<org.apache.pulsar.common.policies.data.BrokerStatus> sharedCandidates)java.util.List<java.net.URL>NamespaceIsolationPolicyImpl. findPrimaryBrokers(java.util.List<java.net.URL> availableBrokers, NamespaceName namespace)java.util.List<java.net.URL>NamespaceIsolationPolicyImpl. findSecondaryBrokers(java.util.List<java.net.URL> availableBrokers, NamespaceName namespace)NamespaceIsolationPolicyNamespaceIsolationPolicies. getPolicyByNamespace(NamespaceName namespace)Get the namespace isolation policy for the specified namespace.
-