Uses of Class
org.apache.pulsar.common.policies.data.RetentionPolicies
Packages that use RetentionPolicies
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Implementation of policies.
-
Uses of RetentionPolicies in org.apache.pulsar.client.admin
Methods in org.apache.pulsar.client.admin that return RetentionPoliciesModifier 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.Methods in org.apache.pulsar.client.admin that return types with arguments of type RetentionPoliciesModifier 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.Topics.getRetentionAsync
(String topic, boolean applied) Deprecated.Methods in org.apache.pulsar.client.admin with parameters of type RetentionPoliciesModifier 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
Fields in org.apache.pulsar.common.policies.data declared as RetentionPolicies