Class Namespaces


  • @Path("/namespaces")
    @Produces("application/json")
    @Consumes("application/json")
    public class Namespaces
    extends NamespacesBase
    • Constructor Detail

      • Namespaces

        public Namespaces()
    • Method Detail

      • getTenantNamespaces

        @GET
        @Path("/{property}")
        public java.util.List<java.lang.String> getTenantNamespaces​(@PathParam("property")
                                                                    java.lang.String property)
      • getNamespacesForCluster

        @GET
        @Path("/{property}/{cluster}")
        public java.util.List<java.lang.String> getNamespacesForCluster​(@PathParam("property")
                                                                        java.lang.String tenant,
                                                                        @PathParam("cluster")
                                                                        java.lang.String cluster)
      • getTopics

        @GET
        @Path("/{property}/{cluster}/{namespace}/destinations")
        public void getTopics​(@PathParam("property")
                              java.lang.String property,
                              @PathParam("cluster")
                              java.lang.String cluster,
                              @PathParam("namespace")
                              java.lang.String namespace,
                              @QueryParam("mode") @DefaultValue("PERSISTENT")
                              org.apache.pulsar.common.api.proto.CommandGetTopicsOfNamespace.Mode mode,
                              @Suspended
                              javax.ws.rs.container.AsyncResponse asyncResponse)
      • getPolicies

        @GET
        @Path("/{property}/{cluster}/{namespace}")
        public org.apache.pulsar.common.policies.data.Policies getPolicies​(@PathParam("property")
                                                                           java.lang.String property,
                                                                           @PathParam("cluster")
                                                                           java.lang.String cluster,
                                                                           @PathParam("namespace")
                                                                           java.lang.String namespace)
      • createNamespace

        @PUT
        @Path("/{property}/{cluster}/{namespace}")
        public void createNamespace​(@PathParam("property")
                                    java.lang.String property,
                                    @PathParam("cluster")
                                    java.lang.String cluster,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    org.apache.pulsar.common.policies.data.BundlesData initialBundles)
      • deleteNamespace

        @DELETE
        @Path("/{property}/{cluster}/{namespace}")
        public void deleteNamespace​(@Suspended
                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                    @PathParam("property")
                                    java.lang.String property,
                                    @PathParam("cluster")
                                    java.lang.String cluster,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    @QueryParam("force") @DefaultValue("false")
                                    boolean force,
                                    @QueryParam("authoritative") @DefaultValue("false")
                                    boolean authoritative)
      • deleteNamespaceBundle

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/{bundle}")
        public void deleteNamespaceBundle​(@PathParam("property")
                                          java.lang.String property,
                                          @PathParam("cluster")
                                          java.lang.String cluster,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @PathParam("bundle")
                                          java.lang.String bundleRange,
                                          @QueryParam("force") @DefaultValue("false")
                                          boolean force,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative)
      • getPermissions

        @GET
        @Path("/{property}/{cluster}/{namespace}/permissions")
        public java.util.Map<java.lang.String,​java.util.Set<org.apache.pulsar.common.policies.data.AuthAction>> getPermissions​(@PathParam("property")
                                                                                                                                     java.lang.String property,
                                                                                                                                     @PathParam("cluster")
                                                                                                                                     java.lang.String cluster,
                                                                                                                                     @PathParam("namespace")
                                                                                                                                     java.lang.String namespace)
      • getPermissionOnSubscription

        @GET
        @Path("/{property}/{cluster}/{namespace}/permissions/subscription")
        public java.util.Map<java.lang.String,​java.util.Set<java.lang.String>> getPermissionOnSubscription​(@PathParam("property")
                                                                                                                 java.lang.String property,
                                                                                                                 @PathParam("cluster")
                                                                                                                 java.lang.String cluster,
                                                                                                                 @PathParam("namespace")
                                                                                                                 java.lang.String namespace)
      • grantPermissionOnNamespace

        @POST
        @Path("/{property}/{cluster}/{namespace}/permissions/{role}")
        public void grantPermissionOnNamespace​(@PathParam("property")
                                               java.lang.String property,
                                               @PathParam("cluster")
                                               java.lang.String cluster,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               @PathParam("role")
                                               java.lang.String role,
                                               java.util.Set<org.apache.pulsar.common.policies.data.AuthAction> actions)
      • grantPermissionOnSubscription

        @POST
        @Path("/{property}/{cluster}/{namespace}/permissions/subscription/{subscription}")
        public void grantPermissionOnSubscription​(@PathParam("property")
                                                  java.lang.String property,
                                                  @PathParam("cluster")
                                                  java.lang.String cluster,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  @PathParam("subscription")
                                                  java.lang.String subscription,
                                                  java.util.Set<java.lang.String> roles)
      • revokePermissionsOnNamespace

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/permissions/{role}")
        public void revokePermissionsOnNamespace​(@PathParam("property")
                                                 java.lang.String property,
                                                 @PathParam("cluster")
                                                 java.lang.String cluster,
                                                 @PathParam("namespace")
                                                 java.lang.String namespace,
                                                 @PathParam("role")
                                                 java.lang.String role)
      • revokePermissionOnSubscription

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/permissions/{subscription}/{role}")
        public void revokePermissionOnSubscription​(@PathParam("property")
                                                   java.lang.String property,
                                                   @PathParam("cluster")
                                                   java.lang.String cluster,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace,
                                                   @PathParam("subscription")
                                                   java.lang.String subscription,
                                                   @PathParam("role")
                                                   java.lang.String role)
      • getNamespaceReplicationClusters

        @GET
        @Path("/{property}/{cluster}/{namespace}/replication")
        public java.util.Set<java.lang.String> getNamespaceReplicationClusters​(@PathParam("property")
                                                                               java.lang.String property,
                                                                               @PathParam("cluster")
                                                                               java.lang.String cluster,
                                                                               @PathParam("namespace")
                                                                               java.lang.String namespace)
      • setNamespaceReplicationClusters

        @POST
        @Path("/{property}/{cluster}/{namespace}/replication")
        public void setNamespaceReplicationClusters​(@PathParam("property")
                                                    java.lang.String property,
                                                    @PathParam("cluster")
                                                    java.lang.String cluster,
                                                    @PathParam("namespace")
                                                    java.lang.String namespace,
                                                    java.util.List<java.lang.String> clusterIds)
      • getNamespaceMessageTTL

        @GET
        @Path("/{property}/{cluster}/{namespace}/messageTTL")
        public java.lang.Integer getNamespaceMessageTTL​(@PathParam("property")
                                                        java.lang.String property,
                                                        @PathParam("cluster")
                                                        java.lang.String cluster,
                                                        @PathParam("namespace")
                                                        java.lang.String namespace)
      • setNamespaceMessageTTL

        @POST
        @Path("/{property}/{cluster}/{namespace}/messageTTL")
        public void setNamespaceMessageTTL​(@PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           int messageTTL)
      • removeNamespaceMessageTTL

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/messageTTL")
        public void removeNamespaceMessageTTL​(@PathParam("property")
                                              java.lang.String property,
                                              @PathParam("cluster")
                                              java.lang.String cluster,
                                              @PathParam("namespace")
                                              java.lang.String namespace)
      • getSubscriptionExpirationTime

        @GET
        @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime")
        public java.lang.Integer getSubscriptionExpirationTime​(@PathParam("property")
                                                               java.lang.String property,
                                                               @PathParam("cluster")
                                                               java.lang.String cluster,
                                                               @PathParam("namespace")
                                                               java.lang.String namespace)
      • setSubscriptionExpirationTime

        @POST
        @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime")
        public void setSubscriptionExpirationTime​(@PathParam("property")
                                                  java.lang.String property,
                                                  @PathParam("cluster")
                                                  java.lang.String cluster,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  int expirationTime)
      • removeSubscriptionExpirationTime

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/subscriptionExpirationTime")
        public void removeSubscriptionExpirationTime​(@PathParam("property")
                                                     java.lang.String property,
                                                     @PathParam("cluster")
                                                     java.lang.String cluster,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace)
      • setNamespaceAntiAffinityGroup

        @POST
        @Path("/{property}/{cluster}/{namespace}/antiAffinity")
        public void setNamespaceAntiAffinityGroup​(@PathParam("property")
                                                  java.lang.String property,
                                                  @PathParam("cluster")
                                                  java.lang.String cluster,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace,
                                                  java.lang.String antiAffinityGroup)
      • getNamespaceAntiAffinityGroup

        @GET
        @Path("/{property}/{cluster}/{namespace}/antiAffinity")
        public java.lang.String getNamespaceAntiAffinityGroup​(@PathParam("property")
                                                              java.lang.String property,
                                                              @PathParam("cluster")
                                                              java.lang.String cluster,
                                                              @PathParam("namespace")
                                                              java.lang.String namespace)
      • getAntiAffinityNamespaces

        @GET
        @Path("{cluster}/antiAffinity/{group}")
        public java.util.List<java.lang.String> getAntiAffinityNamespaces​(@PathParam("cluster")
                                                                          java.lang.String cluster,
                                                                          @PathParam("group")
                                                                          java.lang.String antiAffinityGroup,
                                                                          @QueryParam("property")
                                                                          java.lang.String property)
      • removeNamespaceAntiAffinityGroup

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/antiAffinity")
        public void removeNamespaceAntiAffinityGroup​(@PathParam("property")
                                                     java.lang.String property,
                                                     @PathParam("cluster")
                                                     java.lang.String cluster,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace)
      • modifyDeduplication

        @POST
        @Path("/{property}/{cluster}/{namespace}/deduplication")
        public void modifyDeduplication​(@PathParam("property")
                                        java.lang.String property,
                                        @PathParam("cluster")
                                        java.lang.String cluster,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        boolean enableDeduplication)
      • getAutoTopicCreation

        @GET
        @Path("/{property}/{cluster}/{namespace}/autoTopicCreation")
        public org.apache.pulsar.common.policies.data.AutoTopicCreationOverride getAutoTopicCreation​(@PathParam("property")
                                                                                                     java.lang.String property,
                                                                                                     @PathParam("cluster")
                                                                                                     java.lang.String cluster,
                                                                                                     @PathParam("namespace")
                                                                                                     java.lang.String namespace)
      • setAutoTopicCreation

        @POST
        @Path("/{property}/{cluster}/{namespace}/autoTopicCreation")
        public void setAutoTopicCreation​(@Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @PathParam("property")
                                         java.lang.String property,
                                         @PathParam("cluster")
                                         java.lang.String cluster,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         org.apache.pulsar.common.policies.data.AutoTopicCreationOverride autoTopicCreationOverride)
      • removeAutoTopicCreation

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/autoTopicCreation")
        public void removeAutoTopicCreation​(@Suspended
                                            javax.ws.rs.container.AsyncResponse asyncResponse,
                                            @PathParam("property")
                                            java.lang.String property,
                                            @PathParam("cluster")
                                            java.lang.String cluster,
                                            @PathParam("namespace")
                                            java.lang.String namespace)
      • setAutoSubscriptionCreation

        @POST
        @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation")
        public void setAutoSubscriptionCreation​(@Suspended
                                                javax.ws.rs.container.AsyncResponse asyncResponse,
                                                @PathParam("property")
                                                java.lang.String property,
                                                @PathParam("cluster")
                                                java.lang.String cluster,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride autoSubscriptionCreationOverride)
      • getAutoSubscriptionCreation

        @GET
        @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation")
        public org.apache.pulsar.common.policies.data.AutoSubscriptionCreationOverride getAutoSubscriptionCreation​(@PathParam("property")
                                                                                                                   java.lang.String property,
                                                                                                                   @PathParam("cluster")
                                                                                                                   java.lang.String cluster,
                                                                                                                   @PathParam("namespace")
                                                                                                                   java.lang.String namespace)
      • removeAutoSubscriptionCreation

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/autoSubscriptionCreation")
        public void removeAutoSubscriptionCreation​(@Suspended
                                                   javax.ws.rs.container.AsyncResponse asyncResponse,
                                                   @PathParam("property")
                                                   java.lang.String property,
                                                   @PathParam("cluster")
                                                   java.lang.String cluster,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace)
      • getBundlesData

        @GET
        @Path("/{property}/{cluster}/{namespace}/bundles")
        public org.apache.pulsar.common.policies.data.BundlesData getBundlesData​(@PathParam("property")
                                                                                 java.lang.String property,
                                                                                 @PathParam("cluster")
                                                                                 java.lang.String cluster,
                                                                                 @PathParam("namespace")
                                                                                 java.lang.String namespace)
      • unloadNamespace

        @PUT
        @Path("/{property}/{cluster}/{namespace}/unload")
        public void unloadNamespace​(@Suspended
                                    javax.ws.rs.container.AsyncResponse asyncResponse,
                                    @PathParam("property")
                                    java.lang.String property,
                                    @PathParam("cluster")
                                    java.lang.String cluster,
                                    @PathParam("namespace")
                                    java.lang.String namespace)
      • unloadNamespaceBundle

        @PUT
        @Path("/{property}/{cluster}/{namespace}/{bundle}/unload")
        public void unloadNamespaceBundle​(@Suspended
                                          javax.ws.rs.container.AsyncResponse asyncResponse,
                                          @PathParam("property")
                                          java.lang.String property,
                                          @PathParam("cluster")
                                          java.lang.String cluster,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @PathParam("bundle")
                                          java.lang.String bundleRange,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative)
      • splitNamespaceBundle

        @PUT
        @Path("/{property}/{cluster}/{namespace}/{bundle}/split")
        public void splitNamespaceBundle​(@Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @PathParam("property")
                                         java.lang.String property,
                                         @PathParam("cluster")
                                         java.lang.String cluster,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         @PathParam("bundle")
                                         java.lang.String bundleRange,
                                         @QueryParam("authoritative") @DefaultValue("false")
                                         boolean authoritative,
                                         @QueryParam("unload") @DefaultValue("false")
                                         boolean unload)
      • setPublishRate

        @POST
        @Path("/{property}/{cluster}/{namespace}/publishRate")
        public void setPublishRate​(@PathParam("property")
                                   java.lang.String property,
                                   @PathParam("cluster")
                                   java.lang.String cluster,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   org.apache.pulsar.common.policies.data.PublishRate publishRate)
      • getPublishRate

        @GET
        @Path("/{property}/{cluster}/{namespace}/publishRate")
        public org.apache.pulsar.common.policies.data.PublishRate getPublishRate​(@PathParam("property")
                                                                                 java.lang.String property,
                                                                                 @PathParam("cluster")
                                                                                 java.lang.String cluster,
                                                                                 @PathParam("namespace")
                                                                                 java.lang.String namespace)
      • setDispatchRate

        @POST
        @Path("/{property}/{cluster}/{namespace}/dispatchRate")
        public void setDispatchRate​(@PathParam("property")
                                    java.lang.String property,
                                    @PathParam("cluster")
                                    java.lang.String cluster,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
      • getDispatchRate

        @GET
        @Path("/{property}/{cluster}/{namespace}/dispatchRate")
        public org.apache.pulsar.common.policies.data.DispatchRate getDispatchRate​(@PathParam("property")
                                                                                   java.lang.String property,
                                                                                   @PathParam("cluster")
                                                                                   java.lang.String cluster,
                                                                                   @PathParam("namespace")
                                                                                   java.lang.String namespace)
      • setSubscriptionDispatchRate

        @POST
        @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate")
        public void setSubscriptionDispatchRate​(@PathParam("property")
                                                java.lang.String property,
                                                @PathParam("cluster")
                                                java.lang.String cluster,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
      • getSubscriptionDispatchRate

        @GET
        @Path("/{property}/{cluster}/{namespace}/subscriptionDispatchRate")
        public org.apache.pulsar.common.policies.data.DispatchRate getSubscriptionDispatchRate​(@PathParam("property")
                                                                                               java.lang.String property,
                                                                                               @PathParam("cluster")
                                                                                               java.lang.String cluster,
                                                                                               @PathParam("namespace")
                                                                                               java.lang.String namespace)
      • setReplicatorDispatchRate

        @POST
        @Path("/{tenant}/{cluster}/{namespace}/replicatorDispatchRate")
        public void setReplicatorDispatchRate​(@PathParam("tenant")
                                              java.lang.String tenant,
                                              @PathParam("cluster")
                                              java.lang.String cluster,
                                              @PathParam("namespace")
                                              java.lang.String namespace,
                                              org.apache.pulsar.common.policies.data.impl.DispatchRateImpl dispatchRate)
      • getReplicatorDispatchRate

        @GET
        @Path("/{tenant}/{cluster}/{namespace}/replicatorDispatchRate")
        public org.apache.pulsar.common.policies.data.DispatchRate getReplicatorDispatchRate​(@PathParam("tenant")
                                                                                             java.lang.String tenant,
                                                                                             @PathParam("cluster")
                                                                                             java.lang.String cluster,
                                                                                             @PathParam("namespace")
                                                                                             java.lang.String namespace)
      • getBacklogQuotaMap

        @GET
        @Path("/{property}/{cluster}/{namespace}/backlogQuotaMap")
        public java.util.Map<org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType,​org.apache.pulsar.common.policies.data.BacklogQuota> getBacklogQuotaMap​(@PathParam("property")
                                                                                                                                                                                java.lang.String property,
                                                                                                                                                                                @PathParam("cluster")
                                                                                                                                                                                java.lang.String cluster,
                                                                                                                                                                                @PathParam("namespace")
                                                                                                                                                                                java.lang.String namespace)
      • setBacklogQuota

        @POST
        @Path("/{property}/{cluster}/{namespace}/backlogQuota")
        public void setBacklogQuota​(@PathParam("property")
                                    java.lang.String property,
                                    @PathParam("cluster")
                                    java.lang.String cluster,
                                    @PathParam("namespace")
                                    java.lang.String namespace,
                                    @QueryParam("backlogQuotaType")
                                    org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType,
                                    org.apache.pulsar.common.policies.data.BacklogQuota backlogQuota)
      • removeBacklogQuota

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/backlogQuota")
        public void removeBacklogQuota​(@PathParam("property")
                                       java.lang.String property,
                                       @PathParam("cluster")
                                       java.lang.String cluster,
                                       @PathParam("namespace")
                                       java.lang.String namespace,
                                       @QueryParam("backlogQuotaType")
                                       org.apache.pulsar.common.policies.data.BacklogQuota.BacklogQuotaType backlogQuotaType)
      • getRetention

        @GET
        @Path("/{property}/{cluster}/{namespace}/retention")
        public org.apache.pulsar.common.policies.data.RetentionPolicies getRetention​(@PathParam("property")
                                                                                     java.lang.String property,
                                                                                     @PathParam("cluster")
                                                                                     java.lang.String cluster,
                                                                                     @PathParam("namespace")
                                                                                     java.lang.String namespace)
      • setRetention

        @POST
        @Path("/{property}/{cluster}/{namespace}/retention")
        public void setRetention​(@PathParam("property")
                                 java.lang.String property,
                                 @PathParam("cluster")
                                 java.lang.String cluster,
                                 @PathParam("namespace")
                                 java.lang.String namespace,
                                 org.apache.pulsar.common.policies.data.RetentionPolicies retention)
      • setPersistence

        @POST
        @Path("/{property}/{cluster}/{namespace}/persistence")
        public void setPersistence​(@PathParam("property")
                                   java.lang.String property,
                                   @PathParam("cluster")
                                   java.lang.String cluster,
                                   @PathParam("namespace")
                                   java.lang.String namespace,
                                   org.apache.pulsar.common.policies.data.PersistencePolicies persistence)
      • setBookieAffinityGroup

        @POST
        @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity")
        public void setBookieAffinityGroup​(@PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           org.apache.pulsar.common.policies.data.BookieAffinityGroupData bookieAffinityGroup)
      • getBookieAffinityGroup

        @GET
        @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity")
        public org.apache.pulsar.common.policies.data.BookieAffinityGroupData getBookieAffinityGroup​(@PathParam("property")
                                                                                                     java.lang.String property,
                                                                                                     @PathParam("cluster")
                                                                                                     java.lang.String cluster,
                                                                                                     @PathParam("namespace")
                                                                                                     java.lang.String namespace)
      • deleteBookieAffinityGroup

        @DELETE
        @Path("/{property}/{cluster}/{namespace}/persistence/bookieAffinity")
        public void deleteBookieAffinityGroup​(@PathParam("property")
                                              java.lang.String property,
                                              @PathParam("cluster")
                                              java.lang.String cluster,
                                              @PathParam("namespace")
                                              java.lang.String namespace)
      • getPersistence

        @GET
        @Path("/{property}/{cluster}/{namespace}/persistence")
        public org.apache.pulsar.common.policies.data.PersistencePolicies getPersistence​(@PathParam("property")
                                                                                         java.lang.String property,
                                                                                         @PathParam("cluster")
                                                                                         java.lang.String cluster,
                                                                                         @PathParam("namespace")
                                                                                         java.lang.String namespace)
      • clearNamespaceBacklog

        @POST
        @Path("/{property}/{cluster}/{namespace}/clearBacklog")
        public void clearNamespaceBacklog​(@Suspended
                                          javax.ws.rs.container.AsyncResponse asyncResponse,
                                          @PathParam("property")
                                          java.lang.String property,
                                          @PathParam("cluster")
                                          java.lang.String cluster,
                                          @PathParam("namespace")
                                          java.lang.String namespace,
                                          @QueryParam("authoritative") @DefaultValue("false")
                                          boolean authoritative)
      • clearNamespaceBundleBacklog

        @POST
        @Path("/{property}/{cluster}/{namespace}/{bundle}/clearBacklog")
        public void clearNamespaceBundleBacklog​(@PathParam("property")
                                                java.lang.String property,
                                                @PathParam("cluster")
                                                java.lang.String cluster,
                                                @PathParam("namespace")
                                                java.lang.String namespace,
                                                @PathParam("bundle")
                                                java.lang.String bundleRange,
                                                @QueryParam("authoritative") @DefaultValue("false")
                                                boolean authoritative)
      • clearNamespaceBacklogForSubscription

        @POST
        @Path("/{property}/{cluster}/{namespace}/clearBacklog/{subscription}")
        public void clearNamespaceBacklogForSubscription​(@Suspended
                                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                                         @PathParam("property")
                                                         java.lang.String property,
                                                         @PathParam("cluster")
                                                         java.lang.String cluster,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace,
                                                         @PathParam("subscription")
                                                         java.lang.String subscription,
                                                         @QueryParam("authoritative") @DefaultValue("false")
                                                         boolean authoritative)
      • clearNamespaceBundleBacklogForSubscription

        @POST
        @Path("/{property}/{cluster}/{namespace}/{bundle}/clearBacklog/{subscription}")
        public void clearNamespaceBundleBacklogForSubscription​(@PathParam("property")
                                                               java.lang.String property,
                                                               @PathParam("cluster")
                                                               java.lang.String cluster,
                                                               @PathParam("namespace")
                                                               java.lang.String namespace,
                                                               @PathParam("subscription")
                                                               java.lang.String subscription,
                                                               @PathParam("bundle")
                                                               java.lang.String bundleRange,
                                                               @QueryParam("authoritative") @DefaultValue("false")
                                                               boolean authoritative)
      • unsubscribeNamespace

        @POST
        @Path("/{property}/{cluster}/{namespace}/unsubscribe/{subscription}")
        public void unsubscribeNamespace​(@Suspended
                                         javax.ws.rs.container.AsyncResponse asyncResponse,
                                         @PathParam("property")
                                         java.lang.String property,
                                         @PathParam("cluster")
                                         java.lang.String cluster,
                                         @PathParam("namespace")
                                         java.lang.String namespace,
                                         @PathParam("subscription")
                                         java.lang.String subscription,
                                         @QueryParam("authoritative") @DefaultValue("false")
                                         boolean authoritative)
      • unsubscribeNamespaceBundle

        @POST
        @Path("/{property}/{cluster}/{namespace}/{bundle}/unsubscribe/{subscription}")
        public void unsubscribeNamespaceBundle​(@PathParam("property")
                                               java.lang.String property,
                                               @PathParam("cluster")
                                               java.lang.String cluster,
                                               @PathParam("namespace")
                                               java.lang.String namespace,
                                               @PathParam("subscription")
                                               java.lang.String subscription,
                                               @PathParam("bundle")
                                               java.lang.String bundleRange,
                                               @QueryParam("authoritative") @DefaultValue("false")
                                               boolean authoritative)
      • setSubscriptionAuthMode

        @POST
        @Path("/{property}/{cluster}/{namespace}/subscriptionAuthMode")
        public void setSubscriptionAuthMode​(@PathParam("property")
                                            java.lang.String property,
                                            @PathParam("cluster")
                                            java.lang.String cluster,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            org.apache.pulsar.common.policies.data.SubscriptionAuthMode subscriptionAuthMode)
      • getSubscriptionAuthMode

        @GET
        @Path("/{property}/{cluster}/{namespace}/subscriptionAuthMode")
        public org.apache.pulsar.common.policies.data.SubscriptionAuthMode getSubscriptionAuthMode​(@PathParam("property")
                                                                                                   java.lang.String property,
                                                                                                   @PathParam("cluster")
                                                                                                   java.lang.String cluster,
                                                                                                   @PathParam("namespace")
                                                                                                   java.lang.String namespace)
      • modifyEncryptionRequired

        @POST
        @Path("/{property}/{cluster}/{namespace}/encryptionRequired")
        public void modifyEncryptionRequired​(@PathParam("property")
                                             java.lang.String property,
                                             @PathParam("cluster")
                                             java.lang.String cluster,
                                             @PathParam("namespace")
                                             java.lang.String namespace,
                                             boolean encryptionRequired)
      • getEncryptionRequired

        @GET
        @Path("/{property}/{cluster}/{namespace}/encryptionRequired")
        public java.lang.Boolean getEncryptionRequired​(@PathParam("property")
                                                       java.lang.String property,
                                                       @PathParam("cluster")
                                                       java.lang.String cluster,
                                                       @PathParam("namespace")
                                                       java.lang.String namespace)
      • getMaxProducersPerTopic

        @GET
        @Path("/{property}/{cluster}/{namespace}/maxProducersPerTopic")
        public int getMaxProducersPerTopic​(@PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace)
      • setMaxProducersPerTopic

        @POST
        @Path("/{property}/{cluster}/{namespace}/maxProducersPerTopic")
        public void setMaxProducersPerTopic​(@PathParam("property")
                                            java.lang.String property,
                                            @PathParam("cluster")
                                            java.lang.String cluster,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            int maxProducersPerTopic)
      • getMaxConsumersPerTopic

        @GET
        @Path("/{property}/{cluster}/{namespace}/maxConsumersPerTopic")
        public java.lang.Integer getMaxConsumersPerTopic​(@PathParam("property")
                                                         java.lang.String property,
                                                         @PathParam("cluster")
                                                         java.lang.String cluster,
                                                         @PathParam("namespace")
                                                         java.lang.String namespace)
      • setMaxConsumersPerTopic

        @POST
        @Path("/{property}/{cluster}/{namespace}/maxConsumersPerTopic")
        public void setMaxConsumersPerTopic​(@PathParam("property")
                                            java.lang.String property,
                                            @PathParam("cluster")
                                            java.lang.String cluster,
                                            @PathParam("namespace")
                                            java.lang.String namespace,
                                            int maxConsumersPerTopic)
      • getMaxConsumersPerSubscription

        @GET
        @Path("/{property}/{cluster}/{namespace}/maxConsumersPerSubscription")
        public int getMaxConsumersPerSubscription​(@PathParam("property")
                                                  java.lang.String property,
                                                  @PathParam("cluster")
                                                  java.lang.String cluster,
                                                  @PathParam("namespace")
                                                  java.lang.String namespace)
      • setMaxConsumersPerSubscription

        @POST
        @Path("/{property}/{cluster}/{namespace}/maxConsumersPerSubscription")
        public void setMaxConsumersPerSubscription​(@PathParam("property")
                                                   java.lang.String property,
                                                   @PathParam("cluster")
                                                   java.lang.String cluster,
                                                   @PathParam("namespace")
                                                   java.lang.String namespace,
                                                   int maxConsumersPerSubscription)
      • getCompactionThreshold

        @GET
        @Path("/{property}/{cluster}/{namespace}/compactionThreshold")
        public java.lang.Long getCompactionThreshold​(@PathParam("property")
                                                     java.lang.String property,
                                                     @PathParam("cluster")
                                                     java.lang.String cluster,
                                                     @PathParam("namespace")
                                                     java.lang.String namespace)
      • setCompactionThreshold

        @PUT
        @Path("/{property}/{cluster}/{namespace}/compactionThreshold")
        public void setCompactionThreshold​(@PathParam("property")
                                           java.lang.String property,
                                           @PathParam("cluster")
                                           java.lang.String cluster,
                                           @PathParam("namespace")
                                           java.lang.String namespace,
                                           long newThreshold)
      • getOffloadThreshold

        @GET
        @Path("/{property}/{cluster}/{namespace}/offloadThreshold")
        public long getOffloadThreshold​(@PathParam("property")
                                        java.lang.String property,
                                        @PathParam("cluster")
                                        java.lang.String cluster,
                                        @PathParam("namespace")
                                        java.lang.String namespace)
      • setOffloadThreshold

        @PUT
        @Path("/{property}/{cluster}/{namespace}/offloadThreshold")
        public void setOffloadThreshold​(@PathParam("property")
                                        java.lang.String property,
                                        @PathParam("cluster")
                                        java.lang.String cluster,
                                        @PathParam("namespace")
                                        java.lang.String namespace,
                                        long newThreshold)
      • getSchemaAutoUpdateCompatibilityStrategy

        @GET
        @Path("/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy")
        public org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy getSchemaAutoUpdateCompatibilityStrategy​(@PathParam("tenant")
                                                                                                                                     java.lang.String tenant,
                                                                                                                                     @PathParam("cluster")
                                                                                                                                     java.lang.String cluster,
                                                                                                                                     @PathParam("namespace")
                                                                                                                                     java.lang.String namespace)
      • setSchemaAutoUpdateCompatibilityStrategy

        @PUT
        @Path("/{tenant}/{cluster}/{namespace}/schemaAutoUpdateCompatibilityStrategy")
        public void setSchemaAutoUpdateCompatibilityStrategy​(@PathParam("tenant")
                                                             java.lang.String tenant,
                                                             @PathParam("cluster")
                                                             java.lang.String cluster,
                                                             @PathParam("namespace")
                                                             java.lang.String namespace,
                                                             org.apache.pulsar.common.policies.data.SchemaAutoUpdateCompatibilityStrategy strategy)