Class ClustersBase

Direct Known Subclasses:
Clusters, Clusters

public class ClustersBase extends AdminResource
  • Constructor Details

    • ClustersBase

      public ClustersBase()
  • Method Details

    • getClusters

      @GET public void getClusters(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse)
    • getCluster

      @GET @Path("/{cluster}") public void getCluster(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • createCluster

      @PUT @Path("/{cluster}") public void createCluster(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, org.apache.pulsar.common.policies.data.ClusterDataImpl clusterData)
    • updateCluster

      @POST @Path("/{cluster}") public void updateCluster(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, org.apache.pulsar.common.policies.data.ClusterDataImpl clusterData)
    • setPeerClusterNames

      @POST @Path("/{cluster}/peers") public void setPeerClusterNames(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, LinkedHashSet<String> peerClusterNames)
    • getPeerCluster

      @GET @Path("/{cluster}/peers") public void getPeerCluster(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • deleteCluster

      @DELETE @Path("/{cluster}") public void deleteCluster(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • getNamespaceIsolationPolicies

      @GET @Path("/{cluster}/namespaceIsolationPolicies") public void getNamespaceIsolationPolicies(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • getNamespaceIsolationPolicy

      @GET @Path("/{cluster}/namespaceIsolationPolicies/{policyName}") public void getNamespaceIsolationPolicy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("policyName") String policyName)
    • getBrokersWithNamespaceIsolationPolicy

      @GET @Path("/{cluster}/namespaceIsolationPolicies/brokers") public void getBrokersWithNamespaceIsolationPolicy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • getBrokerWithNamespaceIsolationPolicy

      @GET @Path("/{cluster}/namespaceIsolationPolicies/brokers/{broker}") public void getBrokerWithNamespaceIsolationPolicy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("broker") String broker)
    • setNamespaceIsolationPolicy

      @POST @Path("/{cluster}/namespaceIsolationPolicies/{policyName}") public void setNamespaceIsolationPolicy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("policyName") String policyName, org.apache.pulsar.common.policies.data.NamespaceIsolationDataImpl policyData)
    • deleteNamespaceIsolationPolicy

      @DELETE @Path("/{cluster}/namespaceIsolationPolicies/{policyName}") public void deleteNamespaceIsolationPolicy(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("policyName") String policyName)
    • setFailureDomain

      @POST @Path("/{cluster}/failureDomains/{domainName}") public void setFailureDomain(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("domainName") String domainName, org.apache.pulsar.common.policies.data.FailureDomainImpl domain)
    • getFailureDomains

      @GET @Path("/{cluster}/failureDomains") public void getFailureDomains(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster)
    • getDomain

      @GET @Path("/{cluster}/failureDomains/{domainName}") public void getDomain(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("domainName") String domainName)
    • deleteFailureDomain

      @DELETE @Path("/{cluster}/failureDomains/{domainName}") public void deleteFailureDomain(@Suspended javax.ws.rs.container.AsyncResponse asyncResponse, @PathParam("cluster") String cluster, @PathParam("domainName") String domainName)