类的使用
org.apache.pulsar.common.policies.data.RetentionPolicies
使用RetentionPolicies的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Implementation of policies.
-
org.apache.pulsar.client.admin中RetentionPolicies的使用
修饰符和类型方法说明Namespaces.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) 已过时。Topics.getRetention(String topic, boolean applied) 已过时。返回变量类型为RetentionPolicies的类型的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明Namespaces.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) 已过时。Topics.getRetentionAsync(String topic, boolean applied) 已过时。修饰符和类型方法说明voidNamespaces.setRetention(String namespace, RetentionPolicies retention) Set the retention configuration for all the topics on a namespace.voidTopicPolicies.setRetention(String topic, RetentionPolicies retention) Set the retention configuration on a topic.voidTopics.setRetention(String topic, RetentionPolicies retention) 已过时。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) 已过时。 -
org.apache.pulsar.common.policies.data中RetentionPolicies的使用