| 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 |
|---|---|
ResourceQuota |
ResourceQuotas.getDefaultResourceQuota()
Get default resource quota for new resource bundles.
|
ResourceQuota |
ResourceQuotas.getNamespaceBundleResourceQuota(String namespace,
String bundle)
Get resource quota of a namespace bundle.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<ResourceQuota> |
ResourceQuotas.getDefaultResourceQuotaAsync()
Get default resource quota for new resource bundles asynchronously.
|
CompletableFuture<ResourceQuota> |
ResourceQuotas.getNamespaceBundleResourceQuotaAsync(String namespace,
String bundle)
Get resource quota of a namespace bundle asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceQuotas.setDefaultResourceQuota(ResourceQuota quota)
Set default resource quota for new namespace bundles.
|
CompletableFuture<Void> |
ResourceQuotas.setDefaultResourceQuotaAsync(ResourceQuota quota)
Set default resource quota for new namespace bundles asynchronously.
|
void |
ResourceQuotas.setNamespaceBundleResourceQuota(String namespace,
String bundle,
ResourceQuota quota)
Set resource quota for a namespace bundle.
|
CompletableFuture<Void> |
ResourceQuotas.setNamespaceBundleResourceQuotaAsync(String namespace,
String bundle,
ResourceQuota quota)
Set resource quota for a namespace bundle asynchronously.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceQuota.add(ResourceQuota quota)
Add quota.
|
void |
ResourceQuota.substract(ResourceQuota quota)
Substract quota.
|
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.