Class ResourceQuotas
java.lang.Object
org.apache.pulsar.broker.web.PulsarWebResource
org.apache.pulsar.broker.admin.AdminResource
org.apache.pulsar.broker.admin.impl.NamespacesBase
org.apache.pulsar.broker.admin.impl.ResourceQuotasBase
org.apache.pulsar.broker.admin.v1.ResourceQuotas
@Path("/resource-quotas")
@Produces("application/json")
@Consumes("application/json")
public class ResourceQuotas
extends ResourceQuotasBase
-
Field Summary
Fields inherited from class org.apache.pulsar.broker.admin.AdminResource
namespaceName, topicNameFields inherited from class org.apache.pulsar.broker.web.PulsarWebResource
httpRequest, servletContext, uri -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidgetNamespaceBundleResourceQuota(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace, String bundleRange) voidremoveNamespaceBundleResourceQuota(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace, String bundleRange) voidsetNamespaceBundleResourceQuota(javax.ws.rs.container.AsyncResponse response, String property, String cluster, String namespace, String bundleRange, org.apache.pulsar.common.policies.data.ResourceQuota quota) Methods inherited from class org.apache.pulsar.broker.admin.impl.ResourceQuotasBase
getDefaultResourceQuota, getDefaultResourceQuotaAsync, internalGetNamespaceBundleResourceQuota, internalRemoveNamespaceBundleResourceQuota, internalSetNamespaceBundleResourceQuota, setDefaultResourceQuotaAsyncMethods inherited from class org.apache.pulsar.broker.admin.impl.NamespacesBase
internalClearNamespaceBacklog, internalClearNamespaceBacklogForSubscription, internalClearNamespaceBundleBacklog, internalClearNamespaceBundleBacklogForSubscription, internalClearProperties, internalClearZkSources, internalCreateNamespace, internalDeleteBookieAffinityGroup, internalDeleteNamespace, internalDeleteNamespace, internalDeleteNamespaceBundleAsync, internalDeleteNamespaceForcefully, internalDeletePersistence, internalDeleteSubscribeRateAsync, internalDeleteSubscriptionDispatchRateAsync, internalDeleteTopicDispatchRate, internalDeleteTopicDispatchRateAsync, internalGetAntiAffinityNamespaces, internalGetAutoSubscriptionCreationAsync, internalGetAutoTopicCreationAsync, internalGetBookieAffinityGroup, internalGetDeduplicationAsync, internalGetEncryptionRequired, internalGetListOfTopics, internalGetNamespaceAntiAffinityGroup, internalGetNamespaceReplicationClustersAsync, internalGetNonPersistentTopics, internalGetProperties, internalGetProperty, internalGetPublishRateAsync, internalGetReplicatorDispatchRateAsync, internalGetSchemaAutoUpdateCompatibilityStrategy, internalGetSubscribeRateAsync, internalGetSubscriptionDispatchRateAsync, internalGetTenantNamespaces, internalGetTopicDispatchRateAsync, internalGetTopicHashPositionsAsync, internalGrantPermissionOnNamespaceAsync, internalGrantPermissionOnSubscriptionAsync, internalModifyDeduplicationAsync, internalModifyEncryptionRequired, internalRemoveBacklogQuota, internalRemoveMaxTopicsPerNamespace, internalRemoveNamespaceAntiAffinityGroup, internalRemoveOffloadPolicies, internalRemoveProperty, internalRemovePublishRate, internalRemovePublishRateAsync, internalRemoveReplicatorDispatchRate, internalRevokePermissionsOnNamespaceAsync, internalRevokePermissionsOnSubscriptionAsync, internalScanOffloadedLedgers, internalSetAutoSubscriptionCreationAsync, internalSetAutoTopicCreationAsync, internalSetBacklogQuota, internalSetBookieAffinityGroup, internalSetCompactionThreshold, internalSetDeduplicationSnapshotInterval, internalSetDelayedDelivery, internalSetInactiveTopic, internalSetIsAllowAutoUpdateSchema, internalSetMaxConsumersPerSubscription, internalSetMaxConsumersPerTopic, internalSetMaxProducersPerTopic, internalSetMaxSubscriptionsPerTopic, internalSetMaxTopicsPerNamespace, internalSetMaxUnackedMessagesPerConsumer, internalSetMaxUnackedMessagesPerSubscription, internalSetNamespaceAntiAffinityGroup, internalSetNamespaceMessageTTLAsync, internalSetNamespaceReplicationClusters, internalSetNamespaceResourceGroup, internalSetOffloadDeletionLag, internalSetOffloadPolicies, internalSetOffloadThreshold, internalSetPersistence, internalSetPolicies, internalSetProperties, internalSetProperty, internalSetPublishRate, internalSetPublishRateAsync, internalSetReplicatorDispatchRate, internalSetRetention, internalSetSchemaAutoUpdateCompatibilityStrategy, internalSetSchemaCompatibilityStrategy, internalSetSchemaValidationEnforced, internalSetSubscribeRateAsync, internalSetSubscriptionAuthMode, internalSetSubscriptionDispatchRateAsync, internalSetSubscriptionExpirationTimeAsync, internalSetSubscriptionTypesEnabled, internalSetTopicDispatchRate, internalSetTopicDispatchRateAsync, internalSplitNamespaceBundleAsync, internalUnloadNamespace, internalUnloadNamespaceAsync, internalUnloadNamespaceBundleAsync, internalUnsubscribeNamespace, internalUnsubscribeNamespaceBundle, validateBundlesData, validateRetentionPoliciesMethods inherited from class org.apache.pulsar.broker.admin.AdminResource
bookKeeper, checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, clustersAsync, dispatchRate, domain, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, filterSystemTopic, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getNamespaceReplicatedClustersAsync, getPartitionedTopicList, getPartitionedTopicListAsync, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getPartitionedTopicNotFoundErrorMessage, getSchemaCompatibilityStrategyAsync, getSchemaCompatibilityStrategyAsyncWithoutAuth, getSubNotFoundErrorMessage, getTopicNotFoundErrorMessage, getTopicPartitionList, getTopicPoliciesAsyncWithRetry, getTopicPoliciesAsyncWithRetry, internalCreatePartitionedTopic, internalCreatePartitionedTopic, isLeaderBroker, isManagedLedgerNotFoundException, isNamespaceReplicated, isNotFoundException, isRedirectException, jsonMapper, namespaceBacklogQuota, replicatorDispatchRate, setServletContext, subscribeRate, subscriptionDispatchRate, tryCreateExtendedPartitionsAsync, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateAndGetWorkerService, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validatePartitionedTopicMetadataAsync, validatePartitionedTopicName, validatePersistencePolicies, validatePersistentTopicName, validatePersistentTopicName, validatePoliciesReadOnlyAccess, validatePoliciesReadOnlyAccessAsync, validateSuperUserAccess, validateTopicName, validateTopicNameMethods inherited from class org.apache.pulsar.broker.web.PulsarWebResource
bookieResources, canUpdateCluster, checkAuthorizationAsync, checkLocalOrGetPeerReplicationCluster, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, clusterResources, config, dynamicConfigurationResources, getClusterDataIfDifferentCluster, getLocalPolicies, getPulsarResources, hasActiveNamespace, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, namespaceIsolationPolicies, namespaceResources, originalPrincipal, pulsar, resourceGroupResources, resumeAsyncResponseExceptionally, setPulsar, splitPath, sync, tenantResources, topicResources, validateAdminAccessForTenant, validateAdminAccessForTenantAsync, validateAdminAccessForTenantAsync, validateBrokerName, validateBundleOwnership, validateBundleOwnershipAsync, validateClusterForTenant, validateClusterForTenantAsync, validateClusterOwnership, validateClusterOwnershipAsync, validateGlobalNamespaceOwnership, validateGlobalNamespaceOwnershipAsync, validateNamespaceBundleOwnership, validateNamespaceBundleOwnershipAsync, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespaceOperationAsync, validateNamespacePolicyOperation, validateNamespacePolicyOperationAsync, validatePeerClusterConflict, validatePeerClusterConflictAsync, validateSuperUserAccessAsync, validateTenantOperation, validateTenantOperationAsync, validateTopicOperation, validateTopicOperation, validateTopicOperationAsync, validateTopicOperationAsync, validateTopicOwnership, validateTopicOwnershipAsync, validateTopicPolicyOperation, validateTopicPolicyOperationAsync
-
Constructor Details
-
ResourceQuotas
public ResourceQuotas()
-
-
Method Details
-
getNamespaceBundleResourceQuota
@GET @Path("/{property}/{cluster}/{namespace}/{bundle}") public void getNamespaceBundleResourceQuota(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange) -
setNamespaceBundleResourceQuota
@POST @Path("/{property}/{cluster}/{namespace}/{bundle}") public void setNamespaceBundleResourceQuota(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange, org.apache.pulsar.common.policies.data.ResourceQuota quota) -
removeNamespaceBundleResourceQuota
@DELETE @Path("/{property}/{cluster}/{namespace}/{bundle}") public void removeNamespaceBundleResourceQuota(@Suspended javax.ws.rs.container.AsyncResponse response, @PathParam("property") String property, @PathParam("cluster") String cluster, @PathParam("namespace") String namespace, @PathParam("bundle") String bundleRange)
-