Class BrokersImpl
java.lang.Object
org.apache.pulsar.client.admin.internal.BaseResource
org.apache.pulsar.client.admin.internal.BrokersImpl
- All Implemented Interfaces:
Brokers
-
Field Summary
Fields inherited from class org.apache.pulsar.client.admin.internal.BaseResource
auth, readTimeoutMs -
Constructor Summary
ConstructorsConstructorDescriptionBrokersImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddeleteDynamicConfiguration(String configName) deleteDynamicConfigurationAsync(String configName) getActiveBrokers(String cluster) getActiveBrokersAsync(String cluster) getOwnedNamespaces(String cluster, String brokerId) getOwnedNamespacesAsync(String cluster, String brokerId) voidDeprecated.voidhealthcheck(TopicVersion topicVersion) Deprecated.healthcheckAsync(TopicVersion topicVersion) shutDownBrokerGracefully(int maxConcurrentUnloadPerSec, boolean forcedTerminateTopic) voidupdateDynamicConfiguration(String configName, String configValue) updateDynamicConfigurationAsync(String configName, String configValue) Methods inherited from class org.apache.pulsar.client.admin.internal.BaseResource
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncGetRequest, asyncPostRequest, asyncPostRequestWithResponse, asyncPutRequest, getApiException, getApiException, getReasonFromServer, request, requestAsync, sync
-
Constructor Details
-
BrokersImpl
public BrokersImpl(javax.ws.rs.client.WebTarget web, org.apache.pulsar.client.api.Authentication auth, long readTimeoutMs)
-
-
Method Details
-
getActiveBrokers
- Specified by:
getActiveBrokersin interfaceBrokers- Throws:
PulsarAdminException
-
getActiveBrokersAsync
- Specified by:
getActiveBrokersAsyncin interfaceBrokers
-
getActiveBrokers
- Specified by:
getActiveBrokersin interfaceBrokers- Throws:
PulsarAdminException
-
getActiveBrokersAsync
- Specified by:
getActiveBrokersAsyncin interfaceBrokers
-
getLeaderBroker
- Specified by:
getLeaderBrokerin interfaceBrokers- Throws:
PulsarAdminException
-
getLeaderBrokerAsync
- Specified by:
getLeaderBrokerAsyncin interfaceBrokers
-
getOwnedNamespaces
public Map<String,NamespaceOwnershipStatus> getOwnedNamespaces(String cluster, String brokerId) throws PulsarAdminException - Specified by:
getOwnedNamespacesin interfaceBrokers- Throws:
PulsarAdminException
-
getOwnedNamespacesAsync
public CompletableFuture<Map<String,NamespaceOwnershipStatus>> getOwnedNamespacesAsync(String cluster, String brokerId) - Specified by:
getOwnedNamespacesAsyncin interfaceBrokers
-
updateDynamicConfiguration
public void updateDynamicConfiguration(String configName, String configValue) throws PulsarAdminException - Specified by:
updateDynamicConfigurationin interfaceBrokers- Throws:
PulsarAdminException
-
updateDynamicConfigurationAsync
public CompletableFuture<Void> updateDynamicConfigurationAsync(String configName, String configValue) - Specified by:
updateDynamicConfigurationAsyncin interfaceBrokers
-
deleteDynamicConfiguration
- Specified by:
deleteDynamicConfigurationin interfaceBrokers- Throws:
PulsarAdminException
-
deleteDynamicConfigurationAsync
- Specified by:
deleteDynamicConfigurationAsyncin interfaceBrokers
-
getAllDynamicConfigurations
- Specified by:
getAllDynamicConfigurationsin interfaceBrokers- Throws:
PulsarAdminException
-
getAllDynamicConfigurationsAsync
- Specified by:
getAllDynamicConfigurationsAsyncin interfaceBrokers
-
getDynamicConfigurationNames
- Specified by:
getDynamicConfigurationNamesin interfaceBrokers- Throws:
PulsarAdminException
-
getDynamicConfigurationNamesAsync
- Specified by:
getDynamicConfigurationNamesAsyncin interfaceBrokers
-
getRuntimeConfigurations
- Specified by:
getRuntimeConfigurationsin interfaceBrokers- Throws:
PulsarAdminException
-
getRuntimeConfigurationsAsync
- Specified by:
getRuntimeConfigurationsAsyncin interfaceBrokers
-
getInternalConfigurationData
- Specified by:
getInternalConfigurationDatain interfaceBrokers- Throws:
PulsarAdminException
-
getInternalConfigurationDataAsync
- Specified by:
getInternalConfigurationDataAsyncin interfaceBrokers
-
backlogQuotaCheck
- Specified by:
backlogQuotaCheckin interfaceBrokers- Throws:
PulsarAdminException
-
backlogQuotaCheckAsync
- Specified by:
backlogQuotaCheckAsyncin interfaceBrokers
-
healthcheck
Deprecated.- Specified by:
healthcheckin interfaceBrokers- Throws:
PulsarAdminException
-
healthcheckAsync
Deprecated.- Specified by:
healthcheckAsyncin interfaceBrokers
-
healthcheck
- Specified by:
healthcheckin interfaceBrokers- Throws:
PulsarAdminException
-
healthcheckAsync
- Specified by:
healthcheckAsyncin interfaceBrokers
-
shutDownBrokerGracefully
public CompletableFuture<Void> shutDownBrokerGracefully(int maxConcurrentUnloadPerSec, boolean forcedTerminateTopic) - Specified by:
shutDownBrokerGracefullyin interfaceBrokers
-
getVersion
- Specified by:
getVersionin interfaceBrokers- Throws:
PulsarAdminException
-
getVersionAsync
-