Uses of Class
org.apache.pulsar.common.policies.data.ResourceQuota
Package
Description
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.
Implementation of policies.
-
Uses of ResourceQuota in org.apache.pulsar.client.admin
Modifier and TypeMethodDescriptionResourceQuotas.getDefaultResourceQuota()
Get default resource quota for new resource bundles.ResourceQuotas.getNamespaceBundleResourceQuota
(String namespace, String bundle) Get resource quota of a namespace bundle.Modifier and TypeMethodDescriptionResourceQuotas.getDefaultResourceQuotaAsync()
Get default resource quota for new resource bundles asynchronously.ResourceQuotas.getNamespaceBundleResourceQuotaAsync
(String namespace, String bundle) Get resource quota of a namespace bundle asynchronously.Modifier and TypeMethodDescriptionvoid
ResourceQuotas.setDefaultResourceQuota
(ResourceQuota quota) Set default resource quota for new namespace bundles.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.ResourceQuotas.setNamespaceBundleResourceQuotaAsync
(String namespace, String bundle, ResourceQuota quota) Set resource quota for a namespace bundle asynchronously. -
Uses of ResourceQuota in org.apache.pulsar.common.policies.data
Modifier and TypeMethodDescriptionvoid
ResourceQuota.add
(ResourceQuota quota) Add quota.void
ResourceQuota.substract
(ResourceQuota quota) Substract quota.