Uses of Class
org.apache.pulsar.common.policies.data.SubscribeRate
Package
Description
Implementation of policies.
-
Uses of SubscribeRate in org.apache.pulsar.client.admin
Modifier and TypeMethodDescriptionNamespaces.getSubscribeRate
(String namespace) Get namespace-subscribe-rate (topics under this namespace allow subscribe times per consumer in a period).TopicPolicies.getSubscribeRate
(String topic) Get topic-subscribe-rate (topics allow subscribe times per consumer in a period).TopicPolicies.getSubscribeRate
(String topic, boolean applied) Get applied topic-subscribe-rate (topics allow subscribe times per consumer in a period).Topics.getSubscribeRate
(String topic) Deprecated.Topics.getSubscribeRate
(String topic, boolean applied) Deprecated.UseTopicPolicies.getSubscribeRate(String, boolean)
instead.Modifier and TypeMethodDescriptionNamespaces.getSubscribeRateAsync
(String namespace) Get namespace-subscribe-rate asynchronously.TopicPolicies.getSubscribeRateAsync
(String topic) Get topic-subscribe-rate asynchronously.TopicPolicies.getSubscribeRateAsync
(String topic, boolean applied) Get applied topic-subscribe-rate asynchronously.Topics.getSubscribeRateAsync
(String topic) Deprecated.UseTopicPolicies.getSubscribeRateAsync(String)
instead.Topics.getSubscribeRateAsync
(String topic, boolean applied) Deprecated.UseTopicPolicies.getSubscribeRateAsync(String, boolean)
instead.Modifier and TypeMethodDescriptionvoid
Namespaces.setSubscribeRate
(String namespace, SubscribeRate subscribeRate) Set namespace-subscribe-rate (topics under this namespace will limit by subscribeRate).void
TopicPolicies.setSubscribeRate
(String topic, SubscribeRate subscribeRate) Set topic-subscribe-rate (topic will limit by subscribeRate).void
Topics.setSubscribeRate
(String topic, SubscribeRate subscribeRate) Deprecated.Namespaces.setSubscribeRateAsync
(String namespace, SubscribeRate subscribeRate) Set namespace-subscribe-rate (topics under this namespace will limit by subscribeRate) asynchronously.TopicPolicies.setSubscribeRateAsync
(String topic, SubscribeRate subscribeRate) Set topic-subscribe-rate (topics will limit by subscribeRate) asynchronously.Topics.setSubscribeRateAsync
(String topic, SubscribeRate subscribeRate) Deprecated. -
Uses of SubscribeRate in org.apache.pulsar.common.policies.data
Modifier and TypeMethodDescriptionstatic SubscribeRate
SubscribeRate.normalize
(SubscribeRate subscribeRate) Modifier and TypeMethodDescriptionstatic SubscribeRate
SubscribeRate.normalize
(SubscribeRate subscribeRate)
TopicPolicies.getSubscribeRate(String)
instead.