| Package | Description |
|---|---|
| org.apache.pulsar.client.admin |
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
|
| org.apache.pulsar.common.policies.data |
Implementation of policies.
|
| Modifier and Type | Method and Description |
|---|---|
RetentionPolicies |
TopicPolicies.getRetention(String topic)
Get the retention configuration for a topic.
|
RetentionPolicies |
Topics.getRetention(String topic)
Deprecated.
|
RetentionPolicies |
Namespaces.getRetention(String namespace)
Get the retention configuration for a namespace.
|
RetentionPolicies |
TopicPolicies.getRetention(String topic,
boolean applied)
Get the applied retention configuration for a topic.
|
RetentionPolicies |
Topics.getRetention(String topic,
boolean applied)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<RetentionPolicies> |
TopicPolicies.getRetentionAsync(String topic)
Get the retention configuration for a topic asynchronously.
|
CompletableFuture<RetentionPolicies> |
Topics.getRetentionAsync(String topic)
Deprecated.
|
CompletableFuture<RetentionPolicies> |
Namespaces.getRetentionAsync(String namespace)
Get the retention configuration for a namespace asynchronously.
|
CompletableFuture<RetentionPolicies> |
TopicPolicies.getRetentionAsync(String topic,
boolean applied)
Get the applied retention configuration for a topic asynchronously.
|
CompletableFuture<RetentionPolicies> |
Topics.getRetentionAsync(String topic,
boolean applied)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TopicPolicies.setRetention(String topic,
RetentionPolicies retention)
Set the retention configuration on a topic.
|
void |
Topics.setRetention(String topic,
RetentionPolicies retention)
Deprecated.
|
void |
Namespaces.setRetention(String namespace,
RetentionPolicies retention)
Set the retention configuration for all the topics on a namespace.
|
CompletableFuture<Void> |
TopicPolicies.setRetentionAsync(String topic,
RetentionPolicies retention)
Set the retention configuration for all the topics on a topic asynchronously.
|
CompletableFuture<Void> |
Topics.setRetentionAsync(String topic,
RetentionPolicies retention)
Deprecated.
|
CompletableFuture<Void> |
Namespaces.setRetentionAsync(String namespace,
RetentionPolicies retention)
Set the retention configuration for all the topics on a namespace asynchronously.
|
| Modifier and Type | Field and Description |
|---|---|
RetentionPolicies |
Policies.retention_policies |
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.