public class ClustersBase extends AdminResource
namespaceName, PARTITIONED_TOPIC_PATH_ZNODE, topicNamehttpRequest, NOT_IMPLEMENTED, servletContext, uri| Constructor and Description |
|---|
ClustersBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
createCluster(String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData) |
void |
deleteCluster(String cluster) |
void |
deleteFailureDomain(String cluster,
String domainName) |
void |
deleteNamespaceIsolationPolicy(String cluster,
String policyName) |
List<org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData> |
getBrokersWithNamespaceIsolationPolicy(String cluster) |
org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData |
getBrokerWithNamespaceIsolationPolicy(String cluster,
String broker) |
org.apache.pulsar.common.policies.data.ClusterData |
getCluster(String cluster) |
Set<String> |
getClusters() |
org.apache.pulsar.common.policies.data.FailureDomain |
getDomain(String cluster,
String domainName) |
Map<String,org.apache.pulsar.common.policies.data.FailureDomain> |
getFailureDomains(String cluster) |
Map<String,org.apache.pulsar.common.policies.data.NamespaceIsolationData> |
getNamespaceIsolationPolicies(String cluster) |
org.apache.pulsar.common.policies.data.NamespaceIsolationData |
getNamespaceIsolationPolicy(String cluster,
String policyName) |
Set<String> |
getPeerCluster(String cluster) |
void |
setFailureDomain(String cluster,
String domainName,
org.apache.pulsar.common.policies.data.FailureDomain domain) |
void |
setNamespaceIsolationPolicy(javax.ws.rs.container.AsyncResponse asyncResponse,
String cluster,
String policyName,
org.apache.pulsar.common.policies.data.NamespaceIsolationData policyData) |
void |
setPeerClusterNames(String cluster,
LinkedHashSet<String> peerClusterNames) |
void |
updateCluster(String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData) |
checkArgument, checkBacklogQuota, checkNotNull, checkNotNull, checkTopicExistsAsync, checkTopicLevelPolicyEnable, clusters, clustersCache, clustersListCache, dispatchRate, domain, failureDomainCache, failureDomainListCache, fetchPartitionedTopicMetadata, fetchPartitionedTopicMetadataCheckAllowAutoCreation, getListOfNamespaces, getNamespacePolicies, getNamespacePolicies, getNamespacePoliciesAsync, getNamespaceReplicatedClusters, getPartitionedTopicList, getPartitionedTopicMetadata, getPartitionedTopicMetadataAsync, getTopicPolicies, globalZk, globalZkCache, internalCreatePartitionedTopic, isLeaderBroker, isNamespaceReplicated, jsonMapper, localCacheService, localPoliciesCache, localZk, localZkCache, managedLedgerListCache, mergeNamespaceWithDefaults, namespaceBacklogQuota, namespaceIsolationPoliciesCache, policiesCache, resumeAsyncResponseExceptionally, setServletContext, subscribeRate, subscriptionDispatchRate, tenantsCache, tryCreatePartitionsAsync, validateAdminAccessForTenant, validateBrokerName, validateBundleOwnership, validateClusterExists, validateGlobalNamespaceOwnership, validateNamespaceName, validateNamespaceName, validateNamespaceOwnershipWithBundles, validatePartitionedTopicMetadata, validatePartitionedTopicName, validatePersistencePolicies, validatePoliciesReadOnlyAccess, validateSuperUserAccess, validateTopicExistedAndCheckAllowAutoCreation, validateTopicName, validateTopicName, zkCreate, zkCreateOptimistic, zkCreateOptimisticAsync, zkPathExists, zkSynccheckAuthorization, checkConnect, checkLocalOrGetPeerReplicationCluster, clientAppId, clientAuthData, config, getClusterDataIfDifferentCluster, hasSuperUserAccess, isBundleOwnedByAnyBroker, isClientAuthenticated, isLeaderBroker, isRequestHttps, joinPath, originalPrincipal, path, pulsar, setPulsar, splitPath, validateAdminAccessForTenant, validateBundleOwnership, validateClusterForTenant, validateClusterOwnership, validateGlobalNamespaceOwnership, validateNamespaceBundleOwnership, validateNamespaceBundleRange, validateNamespaceOperation, validateNamespacePolicyOperation, validateTenantOperation, validateTopicOwnership@GET
@Path(value="/{cluster}")
public org.apache.pulsar.common.policies.data.ClusterData getCluster(@PathParam(value="cluster")
String cluster)
@PUT
@Path(value="/{cluster}")
public void createCluster(@PathParam(value="cluster")
String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData)
@POST
@Path(value="/{cluster}")
public void updateCluster(@PathParam(value="cluster")
String cluster,
org.apache.pulsar.common.policies.data.ClusterData clusterData)
@POST
@Path(value="/{cluster}/peers")
public void setPeerClusterNames(@PathParam(value="cluster")
String cluster,
LinkedHashSet<String> peerClusterNames)
@GET
@Path(value="/{cluster}/peers")
public Set<String> getPeerCluster(@PathParam(value="cluster")
String cluster)
@DELETE
@Path(value="/{cluster}")
public void deleteCluster(@PathParam(value="cluster")
String cluster)
@GET
@Path(value="/{cluster}/namespaceIsolationPolicies")
public Map<String,org.apache.pulsar.common.policies.data.NamespaceIsolationData> getNamespaceIsolationPolicies(@PathParam(value="cluster")
String cluster)
throws Exception
Exception@GET
@Path(value="/{cluster}/namespaceIsolationPolicies/{policyName}")
public org.apache.pulsar.common.policies.data.NamespaceIsolationData getNamespaceIsolationPolicy(@PathParam(value="cluster")
String cluster,
@PathParam(value="policyName")
String policyName)
throws Exception
Exception@GET
@Path(value="/{cluster}/namespaceIsolationPolicies/brokers")
public List<org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData> getBrokersWithNamespaceIsolationPolicy(@PathParam(value="cluster")
String cluster)
@GET
@Path(value="/{cluster}/namespaceIsolationPolicies/brokers/{broker}")
public org.apache.pulsar.common.policies.data.BrokerNamespaceIsolationData getBrokerWithNamespaceIsolationPolicy(@PathParam(value="cluster")
String cluster,
@PathParam(value="broker")
String broker)
@POST
@Path(value="/{cluster}/namespaceIsolationPolicies/{policyName}")
public void setNamespaceIsolationPolicy(@Suspended
javax.ws.rs.container.AsyncResponse asyncResponse,
@PathParam(value="cluster")
String cluster,
@PathParam(value="policyName")
String policyName,
org.apache.pulsar.common.policies.data.NamespaceIsolationData policyData)
@DELETE
@Path(value="/{cluster}/namespaceIsolationPolicies/{policyName}")
public void deleteNamespaceIsolationPolicy(@PathParam(value="cluster")
String cluster,
@PathParam(value="policyName")
String policyName)
throws Exception
Exception@POST
@Path(value="/{cluster}/failureDomains/{domainName}")
public void setFailureDomain(@PathParam(value="cluster")
String cluster,
@PathParam(value="domainName")
String domainName,
org.apache.pulsar.common.policies.data.FailureDomain domain)
throws Exception
Exception@GET
@Path(value="/{cluster}/failureDomains")
public Map<String,org.apache.pulsar.common.policies.data.FailureDomain> getFailureDomains(@PathParam(value="cluster")
String cluster)
throws Exception
Exception@GET
@Path(value="/{cluster}/failureDomains/{domainName}")
public org.apache.pulsar.common.policies.data.FailureDomain getDomain(@PathParam(value="cluster")
String cluster,
@PathParam(value="domainName")
String domainName)
throws Exception
ExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.