| 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 |
|---|---|
OffloadPolicies |
Topics.getOffloadPolicies(String topic)
get offload policies of a topic.
|
OffloadPolicies |
Namespaces.getOffloadPolicies(String namespace)
Get the offload configuration for a namespace.
|
OffloadPolicies |
Topics.getOffloadPolicies(String topic,
boolean applied)
get applied offload policies of a topic.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<OffloadPolicies> |
Topics.getOffloadPoliciesAsync(String topic)
get offload policies of a topic asynchronously.
|
CompletableFuture<OffloadPolicies> |
Namespaces.getOffloadPoliciesAsync(String namespace)
Get the offload configuration for a namespace asynchronously.
|
CompletableFuture<OffloadPolicies> |
Topics.getOffloadPoliciesAsync(String topic,
boolean applied)
get applied offload policies of a topic asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Topics.setOffloadPolicies(String topic,
OffloadPolicies offloadPolicies)
set offload policies of a topic.
|
void |
Namespaces.setOffloadPolicies(String namespace,
OffloadPolicies offloadPolicies)
Set the offload configuration for all the topics in a namespace.
|
CompletableFuture<Void> |
Topics.setOffloadPoliciesAsync(String topic,
OffloadPolicies offloadPolicies)
set offload policies of a topic asynchronously.
|
CompletableFuture<Void> |
Namespaces.setOffloadPoliciesAsync(String namespace,
OffloadPolicies offloadPolicies)
Set the offload configuration for all the topics in a namespace asynchronously.
|
| Modifier and Type | Field and Description |
|---|---|
OffloadPolicies |
Policies.offload_policies |
| Modifier and Type | Method and Description |
|---|---|
OffloadPolicies |
OffloadPolicies.Builder.build() |
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.