public class TopicPoliciesImpl extends BaseResource implements TopicPolicies
auth, readTimeoutMs| Modifier | Constructor and Description |
|---|---|
protected |
TopicPoliciesImpl(javax.ws.rs.client.WebTarget web,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs,
boolean isGlobal) |
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncPostRequest, asyncPutRequest, getApiException, getApiException, getReasonFromServer, request, requestAsync, syncprotected TopicPoliciesImpl(javax.ws.rs.client.WebTarget web,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs,
boolean isGlobal)
public javax.ws.rs.client.WebTarget addGlobalIfNeeded(javax.ws.rs.client.WebTarget path)
public Map<BacklogQuota.BacklogQuotaType,BacklogQuota> getBacklogQuotaMap(String topic) throws PulsarAdminException
getBacklogQuotaMap in interface TopicPoliciesPulsarAdminExceptionpublic Map<BacklogQuota.BacklogQuotaType,BacklogQuota> getBacklogQuotaMap(String topic, boolean applied) throws PulsarAdminException
getBacklogQuotaMap in interface TopicPoliciesPulsarAdminExceptionpublic void setBacklogQuota(String topic, BacklogQuota backlogQuota) throws PulsarAdminException
setBacklogQuota in interface TopicPoliciesPulsarAdminExceptionpublic void removeBacklogQuota(String topic) throws PulsarAdminException
removeBacklogQuota in interface TopicPoliciesPulsarAdminExceptionpublic void setBacklogQuota(String topic, BacklogQuota backlogQuota, BacklogQuota.BacklogQuotaType backlogQuotaType) throws PulsarAdminException
setBacklogQuota in interface TopicPoliciesPulsarAdminExceptionpublic void removeBacklogQuota(String topic, BacklogQuota.BacklogQuotaType backlogQuotaType) throws PulsarAdminException
removeBacklogQuota in interface TopicPoliciesPulsarAdminExceptionpublic Integer getMaxUnackedMessagesOnConsumer(String topic) throws PulsarAdminException
getMaxUnackedMessagesOnConsumer in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxUnackedMessagesOnConsumerAsync(String topic)
getMaxUnackedMessagesOnConsumerAsync in interface TopicPoliciespublic Integer getMaxUnackedMessagesOnConsumer(String topic, boolean applied) throws PulsarAdminException
getMaxUnackedMessagesOnConsumer in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxUnackedMessagesOnConsumerAsync(String topic, boolean applied)
getMaxUnackedMessagesOnConsumerAsync in interface TopicPoliciespublic CompletableFuture<Void> setMaxUnackedMessagesOnConsumerAsync(String topic, int maxNum)
setMaxUnackedMessagesOnConsumerAsync in interface TopicPoliciespublic void setMaxUnackedMessagesOnConsumer(String topic, int maxNum) throws PulsarAdminException
setMaxUnackedMessagesOnConsumer in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxUnackedMessagesOnConsumerAsync(String topic)
removeMaxUnackedMessagesOnConsumerAsync in interface TopicPoliciespublic void removeMaxUnackedMessagesOnConsumer(String topic) throws PulsarAdminException
removeMaxUnackedMessagesOnConsumer in interface TopicPoliciesPulsarAdminExceptionpublic InactiveTopicPolicies getInactiveTopicPolicies(String topic, boolean applied) throws PulsarAdminException
getInactiveTopicPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<InactiveTopicPolicies> getInactiveTopicPoliciesAsync(String topic, boolean applied)
getInactiveTopicPoliciesAsync in interface TopicPoliciespublic InactiveTopicPolicies getInactiveTopicPolicies(String topic) throws PulsarAdminException
getInactiveTopicPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<InactiveTopicPolicies> getInactiveTopicPoliciesAsync(String topic)
getInactiveTopicPoliciesAsync in interface TopicPoliciespublic CompletableFuture<Void> setInactiveTopicPoliciesAsync(String topic, InactiveTopicPolicies inactiveTopicPolicies)
setInactiveTopicPoliciesAsync in interface TopicPoliciespublic void setInactiveTopicPolicies(String topic, InactiveTopicPolicies inactiveTopicPolicies) throws PulsarAdminException
setInactiveTopicPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeInactiveTopicPoliciesAsync(String topic)
removeInactiveTopicPoliciesAsync in interface TopicPoliciespublic void removeInactiveTopicPolicies(String topic) throws PulsarAdminException
removeInactiveTopicPolicies in interface TopicPoliciesPulsarAdminExceptionpublic DelayedDeliveryPolicies getDelayedDeliveryPolicy(String topic, boolean applied) throws PulsarAdminException
getDelayedDeliveryPolicy in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DelayedDeliveryPolicies> getDelayedDeliveryPolicyAsync(String topic, boolean applied)
getDelayedDeliveryPolicyAsync in interface TopicPoliciespublic DelayedDeliveryPolicies getDelayedDeliveryPolicy(String topic) throws PulsarAdminException
getDelayedDeliveryPolicy in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DelayedDeliveryPolicies> getDelayedDeliveryPolicyAsync(String topic)
getDelayedDeliveryPolicyAsync in interface TopicPoliciespublic CompletableFuture<Void> removeDelayedDeliveryPolicyAsync(String topic)
removeDelayedDeliveryPolicyAsync in interface TopicPoliciespublic void removeDelayedDeliveryPolicy(String topic) throws PulsarAdminException
removeDelayedDeliveryPolicy in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setDelayedDeliveryPolicyAsync(String topic, DelayedDeliveryPolicies delayedDeliveryPolicies)
setDelayedDeliveryPolicyAsync in interface TopicPoliciespublic void setDelayedDeliveryPolicy(String topic, DelayedDeliveryPolicies delayedDeliveryPolicies) throws PulsarAdminException
setDelayedDeliveryPolicy in interface TopicPoliciesPulsarAdminExceptionpublic Boolean getDeduplicationStatus(String topic) throws PulsarAdminException
getDeduplicationStatus in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Boolean> getDeduplicationStatusAsync(String topic)
getDeduplicationStatusAsync in interface TopicPoliciespublic Boolean getDeduplicationStatus(String topic, boolean applied) throws PulsarAdminException
getDeduplicationStatus in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Boolean> getDeduplicationStatusAsync(String topic, boolean applied)
getDeduplicationStatusAsync in interface TopicPoliciespublic void setDeduplicationStatus(String topic, boolean enabled) throws PulsarAdminException
setDeduplicationStatus in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setDeduplicationStatusAsync(String topic, boolean enabled)
setDeduplicationStatusAsync in interface TopicPoliciespublic void removeDeduplicationStatus(String topic) throws PulsarAdminException
removeDeduplicationStatus in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeDeduplicationStatusAsync(String topic)
removeDeduplicationStatusAsync in interface TopicPoliciespublic OffloadPolicies getOffloadPolicies(String topic) throws PulsarAdminException
getOffloadPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<OffloadPolicies> getOffloadPoliciesAsync(String topic)
getOffloadPoliciesAsync in interface TopicPoliciespublic OffloadPolicies getOffloadPolicies(String topic, boolean applied) throws PulsarAdminException
getOffloadPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<OffloadPolicies> getOffloadPoliciesAsync(String topic, boolean applied)
getOffloadPoliciesAsync in interface TopicPoliciespublic void setOffloadPolicies(String topic, OffloadPolicies offloadPolicies) throws PulsarAdminException
setOffloadPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setOffloadPoliciesAsync(String topic, OffloadPolicies offloadPolicies)
setOffloadPoliciesAsync in interface TopicPoliciespublic void removeOffloadPolicies(String topic) throws PulsarAdminException
removeOffloadPolicies in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeOffloadPoliciesAsync(String topic)
removeOffloadPoliciesAsync in interface TopicPoliciespublic Integer getMaxUnackedMessagesOnSubscription(String topic) throws PulsarAdminException
getMaxUnackedMessagesOnSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxUnackedMessagesOnSubscriptionAsync(String topic)
getMaxUnackedMessagesOnSubscriptionAsync in interface TopicPoliciespublic Integer getMaxUnackedMessagesOnSubscription(String topic, boolean applied) throws PulsarAdminException
getMaxUnackedMessagesOnSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxUnackedMessagesOnSubscriptionAsync(String topic, boolean applied)
getMaxUnackedMessagesOnSubscriptionAsync in interface TopicPoliciespublic void setMaxUnackedMessagesOnSubscription(String topic, int maxNum) throws PulsarAdminException
setMaxUnackedMessagesOnSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setMaxUnackedMessagesOnSubscriptionAsync(String topic, int maxNum)
setMaxUnackedMessagesOnSubscriptionAsync in interface TopicPoliciespublic void removeMaxUnackedMessagesOnSubscription(String topic) throws PulsarAdminException
removeMaxUnackedMessagesOnSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxUnackedMessagesOnSubscriptionAsync(String topic)
removeMaxUnackedMessagesOnSubscriptionAsync in interface TopicPoliciespublic void setMessageTTL(String topic, int messageTTLInSecond) throws PulsarAdminException
setMessageTTL in interface TopicPoliciesPulsarAdminExceptionpublic Integer getMessageTTL(String topic) throws PulsarAdminException
getMessageTTL in interface TopicPoliciesPulsarAdminExceptionpublic Integer getMessageTTL(String topic, boolean applied) throws PulsarAdminException
getMessageTTL in interface TopicPoliciesPulsarAdminExceptionpublic void removeMessageTTL(String topic) throws PulsarAdminException
removeMessageTTL in interface TopicPoliciesPulsarAdminExceptionpublic void setRetention(String topic, RetentionPolicies retention) throws PulsarAdminException
setRetention in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setRetentionAsync(String topic, RetentionPolicies retention)
setRetentionAsync in interface TopicPoliciespublic RetentionPolicies getRetention(String topic) throws PulsarAdminException
getRetention in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<RetentionPolicies> getRetentionAsync(String topic)
getRetentionAsync in interface TopicPoliciespublic RetentionPolicies getRetention(String topic, boolean applied) throws PulsarAdminException
getRetention in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<RetentionPolicies> getRetentionAsync(String topic, boolean applied)
getRetentionAsync in interface TopicPoliciespublic void removeRetention(String topic) throws PulsarAdminException
removeRetention in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeRetentionAsync(String topic)
removeRetentionAsync in interface TopicPoliciespublic void setPersistence(String topic, PersistencePolicies persistencePolicies) throws PulsarAdminException
setPersistence in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setPersistenceAsync(String topic, PersistencePolicies persistencePolicies)
setPersistenceAsync in interface TopicPoliciespublic PersistencePolicies getPersistence(String topic) throws PulsarAdminException
getPersistence in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<PersistencePolicies> getPersistenceAsync(String topic)
getPersistenceAsync in interface TopicPoliciespublic PersistencePolicies getPersistence(String topic, boolean applied) throws PulsarAdminException
getPersistence in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<PersistencePolicies> getPersistenceAsync(String topic, boolean applied)
getPersistenceAsync in interface TopicPoliciespublic void removePersistence(String topic) throws PulsarAdminException
removePersistence in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removePersistenceAsync(String topic)
removePersistenceAsync in interface TopicPoliciespublic DispatchRate getDispatchRate(String topic, boolean applied) throws PulsarAdminException
getDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DispatchRate> getDispatchRateAsync(String topic, boolean applied)
getDispatchRateAsync in interface TopicPoliciespublic DispatchRate getDispatchRate(String topic) throws PulsarAdminException
getDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DispatchRate> getDispatchRateAsync(String topic)
getDispatchRateAsync in interface TopicPoliciespublic void setDispatchRate(String topic, DispatchRate dispatchRate) throws PulsarAdminException
setDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setDispatchRateAsync(String topic, DispatchRate dispatchRate)
setDispatchRateAsync in interface TopicPoliciespublic void removeDispatchRate(String topic) throws PulsarAdminException
removeDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeDispatchRateAsync(String topic)
removeDispatchRateAsync in interface TopicPoliciespublic DispatchRate getSubscriptionDispatchRate(String topic, boolean applied) throws PulsarAdminException
getSubscriptionDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DispatchRate> getSubscriptionDispatchRateAsync(String topic, boolean applied)
getSubscriptionDispatchRateAsync in interface TopicPoliciespublic DispatchRate getSubscriptionDispatchRate(String topic) throws PulsarAdminException
getSubscriptionDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DispatchRate> getSubscriptionDispatchRateAsync(String topic)
getSubscriptionDispatchRateAsync in interface TopicPoliciespublic void setSubscriptionDispatchRate(String topic, DispatchRate dispatchRate) throws PulsarAdminException
setSubscriptionDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setSubscriptionDispatchRateAsync(String topic, DispatchRate dispatchRate)
setSubscriptionDispatchRateAsync in interface TopicPoliciespublic void removeSubscriptionDispatchRate(String topic) throws PulsarAdminException
removeSubscriptionDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeSubscriptionDispatchRateAsync(String topic)
removeSubscriptionDispatchRateAsync in interface TopicPoliciespublic Long getCompactionThreshold(String topic) throws PulsarAdminException
getCompactionThreshold in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Long> getCompactionThresholdAsync(String topic)
getCompactionThresholdAsync in interface TopicPoliciespublic Long getCompactionThreshold(String topic, boolean applied) throws PulsarAdminException
getCompactionThreshold in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Long> getCompactionThresholdAsync(String topic, boolean applied)
getCompactionThresholdAsync in interface TopicPoliciespublic void setCompactionThreshold(String topic, long compactionThreshold) throws PulsarAdminException
setCompactionThreshold in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setCompactionThresholdAsync(String topic, long compactionThreshold)
setCompactionThresholdAsync in interface TopicPoliciespublic void removeCompactionThreshold(String topic) throws PulsarAdminException
removeCompactionThreshold in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeCompactionThresholdAsync(String topic)
removeCompactionThresholdAsync in interface TopicPoliciespublic PublishRate getPublishRate(String topic) throws PulsarAdminException
getPublishRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<PublishRate> getPublishRateAsync(String topic)
getPublishRateAsync in interface TopicPoliciespublic void setPublishRate(String topic, PublishRate publishRate) throws PulsarAdminException
setPublishRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setPublishRateAsync(String topic, PublishRate publishRate)
setPublishRateAsync in interface TopicPoliciespublic void removePublishRate(String topic) throws PulsarAdminException
removePublishRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removePublishRateAsync(String topic)
removePublishRateAsync in interface TopicPoliciespublic Integer getMaxConsumersPerSubscription(String topic) throws PulsarAdminException
getMaxConsumersPerSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxConsumersPerSubscriptionAsync(String topic)
getMaxConsumersPerSubscriptionAsync in interface TopicPoliciespublic void setMaxConsumersPerSubscription(String topic, int maxConsumersPerSubscription) throws PulsarAdminException
setMaxConsumersPerSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setMaxConsumersPerSubscriptionAsync(String topic, int maxConsumersPerSubscription)
setMaxConsumersPerSubscriptionAsync in interface TopicPoliciespublic void removeMaxConsumersPerSubscription(String topic) throws PulsarAdminException
removeMaxConsumersPerSubscription in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxConsumersPerSubscriptionAsync(String topic)
removeMaxConsumersPerSubscriptionAsync in interface TopicPoliciespublic Integer getMaxProducers(String topic) throws PulsarAdminException
getMaxProducers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxProducersAsync(String topic)
getMaxProducersAsync in interface TopicPoliciespublic Integer getMaxProducers(String topic, boolean applied) throws PulsarAdminException
getMaxProducers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxProducersAsync(String topic, boolean applied)
getMaxProducersAsync in interface TopicPoliciespublic void setMaxProducers(String topic, int maxProducers) throws PulsarAdminException
setMaxProducers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setMaxProducersAsync(String topic, int maxProducers)
setMaxProducersAsync in interface TopicPoliciespublic void removeMaxProducers(String topic) throws PulsarAdminException
removeMaxProducers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxProducersAsync(String topic)
removeMaxProducersAsync in interface TopicPoliciespublic Integer getMaxSubscriptionsPerTopic(String topic) throws PulsarAdminException
getMaxSubscriptionsPerTopic in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxSubscriptionsPerTopicAsync(String topic)
getMaxSubscriptionsPerTopicAsync in interface TopicPoliciespublic void setMaxSubscriptionsPerTopic(String topic, int maxSubscriptionsPerTopic) throws PulsarAdminException
setMaxSubscriptionsPerTopic in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setMaxSubscriptionsPerTopicAsync(String topic, int maxSubscriptionsPerTopic)
setMaxSubscriptionsPerTopicAsync in interface TopicPoliciespublic void removeMaxSubscriptionsPerTopic(String topic) throws PulsarAdminException
removeMaxSubscriptionsPerTopic in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxSubscriptionsPerTopicAsync(String topic)
removeMaxSubscriptionsPerTopicAsync in interface TopicPoliciespublic Integer getMaxMessageSize(String topic) throws PulsarAdminException
getMaxMessageSize in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxMessageSizeAsync(String topic)
getMaxMessageSizeAsync in interface TopicPoliciespublic void setMaxMessageSize(String topic, int maxMessageSize) throws PulsarAdminException
setMaxMessageSize in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setMaxMessageSizeAsync(String topic, int maxMessageSize)
setMaxMessageSizeAsync in interface TopicPoliciespublic void removeMaxMessageSize(String topic) throws PulsarAdminException
removeMaxMessageSize in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxMessageSizeAsync(String topic)
removeMaxMessageSizeAsync in interface TopicPoliciespublic Integer getMaxConsumers(String topic) throws PulsarAdminException
getMaxConsumers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxConsumersAsync(String topic)
getMaxConsumersAsync in interface TopicPoliciespublic Integer getMaxConsumers(String topic, boolean applied) throws PulsarAdminException
getMaxConsumers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getMaxConsumersAsync(String topic, boolean applied)
getMaxConsumersAsync in interface TopicPoliciespublic void setMaxConsumers(String topic, int maxConsumers) throws PulsarAdminException
setMaxConsumers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setMaxConsumersAsync(String topic, int maxConsumers)
setMaxConsumersAsync in interface TopicPoliciespublic void removeMaxConsumers(String topic) throws PulsarAdminException
removeMaxConsumers in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeMaxConsumersAsync(String topic)
removeMaxConsumersAsync in interface TopicPoliciespublic Integer getDeduplicationSnapshotInterval(String topic) throws PulsarAdminException
getDeduplicationSnapshotInterval in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Integer> getDeduplicationSnapshotIntervalAsync(String topic)
getDeduplicationSnapshotIntervalAsync in interface TopicPoliciespublic void setDeduplicationSnapshotInterval(String topic, int interval) throws PulsarAdminException
setDeduplicationSnapshotInterval in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setDeduplicationSnapshotIntervalAsync(String topic, int interval)
setDeduplicationSnapshotIntervalAsync in interface TopicPoliciespublic void removeDeduplicationSnapshotInterval(String topic) throws PulsarAdminException
removeDeduplicationSnapshotInterval in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeDeduplicationSnapshotIntervalAsync(String topic)
removeDeduplicationSnapshotIntervalAsync in interface TopicPoliciespublic void setSubscriptionTypesEnabled(String topic, Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled) throws PulsarAdminException
setSubscriptionTypesEnabled in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setSubscriptionTypesEnabledAsync(String topic, Set<org.apache.pulsar.client.api.SubscriptionType> subscriptionTypesEnabled)
setSubscriptionTypesEnabledAsync in interface TopicPoliciespublic Set<org.apache.pulsar.client.api.SubscriptionType> getSubscriptionTypesEnabled(String topic) throws PulsarAdminException
getSubscriptionTypesEnabled in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Set<org.apache.pulsar.client.api.SubscriptionType>> getSubscriptionTypesEnabledAsync(String topic)
getSubscriptionTypesEnabledAsync in interface TopicPoliciespublic SubscribeRate getSubscribeRate(String topic) throws PulsarAdminException
getSubscribeRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<SubscribeRate> getSubscribeRateAsync(String topic)
getSubscribeRateAsync in interface TopicPoliciespublic SubscribeRate getSubscribeRate(String topic, boolean applied) throws PulsarAdminException
getSubscribeRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<SubscribeRate> getSubscribeRateAsync(String topic, boolean applied)
getSubscribeRateAsync in interface TopicPoliciespublic void setSubscribeRate(String topic, SubscribeRate subscribeRate) throws PulsarAdminException
setSubscribeRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setSubscribeRateAsync(String topic, SubscribeRate subscribeRate)
setSubscribeRateAsync in interface TopicPoliciespublic void removeSubscribeRate(String topic) throws PulsarAdminException
removeSubscribeRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeSubscribeRateAsync(String topic)
removeSubscribeRateAsync in interface TopicPoliciespublic DispatchRate getReplicatorDispatchRate(String topic) throws PulsarAdminException
getReplicatorDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DispatchRate> getReplicatorDispatchRateAsync(String topic)
getReplicatorDispatchRateAsync in interface TopicPoliciespublic DispatchRate getReplicatorDispatchRate(String topic, boolean applied) throws PulsarAdminException
getReplicatorDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<DispatchRate> getReplicatorDispatchRateAsync(String topic, boolean applied)
getReplicatorDispatchRateAsync in interface TopicPoliciespublic void setReplicatorDispatchRate(String topic, DispatchRate dispatchRate) throws PulsarAdminException
setReplicatorDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> setReplicatorDispatchRateAsync(String topic, DispatchRate dispatchRate)
setReplicatorDispatchRateAsync in interface TopicPoliciespublic void removeReplicatorDispatchRate(String topic) throws PulsarAdminException
removeReplicatorDispatchRate in interface TopicPoliciesPulsarAdminExceptionpublic CompletableFuture<Void> removeReplicatorDispatchRateAsync(String topic)
removeReplicatorDispatchRateAsync in interface TopicPoliciesCopyright © 2017–2021 Apache Software Foundation. All rights reserved.