Uses of Class
org.apache.pulsar.common.policies.data.RetentionPolicies
Package
Description
Implementation of policies.
-
Uses of RetentionPolicies in org.apache.pulsar.client.admin
Modifier and TypeMethodDescriptionNamespaces.getRetention
(String namespace) Get the retention configuration for a namespace.TopicPolicies.getRetention
(String topic) Get the retention configuration for a topic.TopicPolicies.getRetention
(String topic, boolean applied) Get the applied retention configuration for a topic.Topics.getRetention
(String topic) Deprecated.Topics.getRetention
(String topic, boolean applied) Deprecated.UseTopicPolicies.getRetention(String, boolean)
instead.Modifier and TypeMethodDescriptionNamespaces.getRetentionAsync
(String namespace) Get the retention configuration for a namespace asynchronously.TopicPolicies.getRetentionAsync
(String topic) Get the retention configuration for a topic asynchronously.TopicPolicies.getRetentionAsync
(String topic, boolean applied) Get the applied retention configuration for a topic asynchronously.Topics.getRetentionAsync
(String topic) Deprecated.UseTopicPolicies.getRetentionAsync(String)
instead.Topics.getRetentionAsync
(String topic, boolean applied) Deprecated.UseTopicPolicies.getRetentionAsync(String, boolean)
instead.Modifier and TypeMethodDescriptionvoid
Namespaces.setRetention
(String namespace, RetentionPolicies retention) Set the retention configuration for all the topics on a namespace.void
TopicPolicies.setRetention
(String topic, RetentionPolicies retention) Set the retention configuration on a topic.void
Topics.setRetention
(String topic, RetentionPolicies retention) Deprecated.Namespaces.setRetentionAsync
(String namespace, RetentionPolicies retention) Set the retention configuration for all the topics on a namespace asynchronously.TopicPolicies.setRetentionAsync
(String topic, RetentionPolicies retention) Set the retention configuration for all the topics on a topic asynchronously.Topics.setRetentionAsync
(String topic, RetentionPolicies retention) Deprecated. -
Uses of RetentionPolicies in org.apache.pulsar.common.policies.data
TopicPolicies.getRetention(String)
instead.