Class ResourceQuotas


  • @Path("/resource-quotas")
    @Produces("application/json")
    @Consumes("application/json")
    public class ResourceQuotas
    extends ResourceQuotasBase
    • Constructor Detail

      • ResourceQuotas

        public ResourceQuotas()
    • Method Detail

      • getNamespaceBundleResourceQuota

        @GET
        @Path("/{property}/{cluster}/{namespace}/{bundle}")
        public org.apache.pulsar.common.policies.data.ResourceQuota getNamespaceBundleResourceQuota​(@PathParam("property")
                                                                                                    java.lang.String property,
                                                                                                    @PathParam("cluster")
                                                                                                    java.lang.String cluster,
                                                                                                    @PathParam("namespace")
                                                                                                    java.lang.String namespace,
                                                                                                    @PathParam("bundle")
                                                                                                    java.lang.String bundleRange)
      • setNamespaceBundleResourceQuota

        @POST
        @Path("/{property}/{cluster}/{namespace}/{bundle}")
        public void setNamespaceBundleResourceQuota​(@PathParam("property")
                                                    java.lang.String property,
                                                    @PathParam("cluster")
                                                    java.lang.String cluster,
                                                    @PathParam("namespace")
                                                    java.lang.String namespace,
                                                    @PathParam("bundle")
                                                    java.lang.String bundleRange,
                                                    org.apache.pulsar.common.policies.data.ResourceQuota quota)
      • removeNamespaceBundleResourceQuota

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/{bundle}")
        public void removeNamespaceBundleResourceQuota​(@PathParam("property")
                                                       java.lang.String property,
                                                       @PathParam("cluster")
                                                       java.lang.String cluster,
                                                       @PathParam("namespace")
                                                       java.lang.String namespace,
                                                       @PathParam("bundle")
                                                       java.lang.String bundleRange)