Uses of Class
org.apache.pulsar.common.policies.data.PersistencePolicies
Package
Description
Implementation of policies.
-
Uses of PersistencePolicies in org.apache.pulsar.client.admin
Modifier and TypeMethodDescriptionNamespaces.getPersistence
(String namespace) Get the persistence configuration for a namespace.TopicPolicies.getPersistence
(String topic) Get the configuration of persistence policies for specified topic.TopicPolicies.getPersistence
(String topic, boolean applied) Get the applied configuration of persistence policies for specified topic.Topics.getPersistence
(String topic) Deprecated.Topics.getPersistence
(String topic, boolean applied) Deprecated.UseTopicPolicies.getPersistence(String, boolean)
instead.Modifier and TypeMethodDescriptionNamespaces.getPersistenceAsync
(String namespace) Get the persistence configuration for a namespace asynchronously.TopicPolicies.getPersistenceAsync
(String topic) Get the configuration of persistence policies for specified topic asynchronously.TopicPolicies.getPersistenceAsync
(String topic, boolean applied) Get the applied configuration of persistence policies for specified topic asynchronously.Topics.getPersistenceAsync
(String topic) Deprecated.UseTopicPolicies.getPersistenceAsync(String)
instead.Topics.getPersistenceAsync
(String topic, boolean applied) Deprecated.UseTopicPolicies.getPersistenceAsync(String, boolean)
instead.Modifier and TypeMethodDescriptionvoid
Namespaces.setPersistence
(String namespace, PersistencePolicies persistence) Set the persistence configuration for all the topics on a namespace.void
TopicPolicies.setPersistence
(String topic, PersistencePolicies persistencePolicies) Set the configuration of persistence policies for specified topic.void
Topics.setPersistence
(String topic, PersistencePolicies persistencePolicies) Deprecated.UseTopicPolicies.setPersistence(String, PersistencePolicies)
(String)} instead.Namespaces.setPersistenceAsync
(String namespace, PersistencePolicies persistence) Set the persistence configuration for all the topics on a namespace asynchronously.TopicPolicies.setPersistenceAsync
(String topic, PersistencePolicies persistencePolicies) Set the configuration of persistence policies for specified topic asynchronously.Topics.setPersistenceAsync
(String topic, PersistencePolicies persistencePolicies) Deprecated.UseTopicPolicies.setPersistenceAsync(String, PersistencePolicies)
(String)} instead. -
Uses of PersistencePolicies in org.apache.pulsar.common.policies.data
TopicPolicies.getPersistence(String)
instead.