public class BrokerStatsImpl extends BaseResource implements BrokerStats
auth, readTimeoutMs| Constructor and Description |
|---|
BrokerStatsImpl(javax.ws.rs.client.WebTarget target,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs) |
| Modifier and Type | Method and Description |
|---|---|
AllocatorStats |
getAllocatorStats(String allocatorName) |
CompletableFuture<AllocatorStats> |
getAllocatorStatsAsync(String allocatorName) |
com.google.gson.JsonObject |
getBrokerResourceAvailability(String namespace) |
LoadManagerReport |
getLoadReport() |
CompletableFuture<LoadManagerReport> |
getLoadReportAsync() |
String |
getMBeans() |
CompletableFuture<String> |
getMBeansAsync() |
String |
getMetrics() |
CompletableFuture<String> |
getMetricsAsync() |
String |
getPendingBookieOpsStats() |
CompletableFuture<String> |
getPendingBookieOpsStatsAsync() |
String |
getTopics() |
CompletableFuture<String> |
getTopicsAsync() |
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncPostRequest, asyncPutRequest, getApiException, getApiException, getReasonFromServer, request, requestAsyncpublic BrokerStatsImpl(javax.ws.rs.client.WebTarget target,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs)
public String getMetrics() throws PulsarAdminException
getMetrics in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<String> getMetricsAsync()
getMetricsAsync in interface BrokerStatspublic AllocatorStats getAllocatorStats(String allocatorName) throws PulsarAdminException
getAllocatorStats in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<AllocatorStats> getAllocatorStatsAsync(String allocatorName)
getAllocatorStatsAsync in interface BrokerStatspublic String getMBeans() throws PulsarAdminException
getMBeans in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<String> getMBeansAsync()
getMBeansAsync in interface BrokerStatspublic String getTopics() throws PulsarAdminException
getTopics in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<String> getTopicsAsync()
getTopicsAsync in interface BrokerStatspublic LoadManagerReport getLoadReport() throws PulsarAdminException
getLoadReport in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<LoadManagerReport> getLoadReportAsync()
getLoadReportAsync in interface BrokerStatspublic String getPendingBookieOpsStats() throws PulsarAdminException
getPendingBookieOpsStats in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<String> getPendingBookieOpsStatsAsync()
getPendingBookieOpsStatsAsync in interface BrokerStatspublic com.google.gson.JsonObject getBrokerResourceAvailability(String namespace) throws PulsarAdminException
PulsarAdminExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.