| 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 |
|---|---|
InactiveTopicPolicies |
Topics.getInactiveTopicPolicies(String topic)
get inactive topic policies of a topic.
|
InactiveTopicPolicies |
Namespaces.getInactiveTopicPolicies(String namespace)
Get the inactive deletion strategy for all topics within a namespace synchronously.
|
InactiveTopicPolicies |
Topics.getInactiveTopicPolicies(String topic,
boolean applied)
Get inactive topic policies applied for a topic.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<InactiveTopicPolicies> |
Topics.getInactiveTopicPoliciesAsync(String topic)
get inactive topic policies of a topic asynchronously.
|
CompletableFuture<InactiveTopicPolicies> |
Namespaces.getInactiveTopicPoliciesAsync(String namespace)
Get the inactive deletion strategy for all topics within a namespace asynchronously.
|
CompletableFuture<InactiveTopicPolicies> |
Topics.getInactiveTopicPoliciesAsync(String topic,
boolean applied)
Get inactive topic policies applied for a topic asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Topics.setInactiveTopicPolicies(String topic,
InactiveTopicPolicies inactiveTopicPolicies)
set inactive topic policies of a topic.
|
void |
Namespaces.setInactiveTopicPolicies(String namespace,
InactiveTopicPolicies inactiveTopicPolicies)
As same as setInactiveTopicPoliciesAsync,but it is synchronous.
|
CompletableFuture<Void> |
Topics.setInactiveTopicPoliciesAsync(String topic,
InactiveTopicPolicies inactiveTopicPolicies)
set inactive topic policies of a topic asynchronously.
|
CompletableFuture<Void> |
Namespaces.setInactiveTopicPoliciesAsync(String namespace,
InactiveTopicPolicies inactiveTopicPolicies)
You can set the inactive deletion strategy at the namespace level.
|
| Modifier and Type | Field and Description |
|---|---|
InactiveTopicPolicies |
Policies.inactive_topic_policies |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.