接口的使用
org.apache.pulsar.common.policies.data.DelayedDeliveryPolicies
使用DelayedDeliveryPolicies的程序包
程序包
说明
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Implementation of policies.
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
-
org.apache.pulsar.client.admin中DelayedDeliveryPolicies的使用
修饰符和类型方法说明Namespaces.getDelayedDelivery(String namespace) Get the delayed delivery messages for all topics within a namespace.TopicPolicies.getDelayedDeliveryPolicy(String topic) Get the delayed delivery policy for a specified topic.TopicPolicies.getDelayedDeliveryPolicy(String topic, boolean applied) Get the delayed delivery policy applied for a specified topic.Topics.getDelayedDeliveryPolicy(String topic) 已过时。Topics.getDelayedDeliveryPolicy(String topic, boolean applied) 已过时。返回变量类型为DelayedDeliveryPolicies的类型的org.apache.pulsar.client.admin中的方法修饰符和类型方法说明Namespaces.getDelayedDeliveryAsync(String namespace) Get the delayed delivery messages for all topics within a namespace asynchronously.TopicPolicies.getDelayedDeliveryPolicyAsync(String topic) Get the delayed delivery policy for a specified topic asynchronously.TopicPolicies.getDelayedDeliveryPolicyAsync(String topic, boolean applied) Get the delayed delivery policy applied for a specified topic asynchronously.Topics.getDelayedDeliveryPolicyAsync(String topic) 已过时。Topics.getDelayedDeliveryPolicyAsync(String topic, boolean applied) 已过时。修饰符和类型方法说明voidNamespaces.setDelayedDeliveryMessages(String namespace, DelayedDeliveryPolicies delayedDeliveryPolicies) Set the delayed delivery messages for all topics within a namespace.Namespaces.setDelayedDeliveryMessagesAsync(String namespace, DelayedDeliveryPolicies delayedDeliveryPolicies) Set the delayed delivery messages for all topics within a namespace asynchronously.voidTopicPolicies.setDelayedDeliveryPolicy(String topic, DelayedDeliveryPolicies delayedDeliveryPolicies) Set the delayed delivery policy for a specified topic.voidTopics.setDelayedDeliveryPolicy(String topic, DelayedDeliveryPolicies delayedDeliveryPolicies) 已过时。TopicPolicies.setDelayedDeliveryPolicyAsync(String topic, DelayedDeliveryPolicies delayedDeliveryPolicies) Set the delayed delivery policy for a specified topic asynchronously.Topics.setDelayedDeliveryPolicyAsync(String topic, DelayedDeliveryPolicies delayedDeliveryPolicies) 已过时。 -
org.apache.pulsar.common.policies.data中DelayedDeliveryPolicies的使用
-
org.apache.pulsar.common.policies.data.impl中DelayedDeliveryPolicies的使用