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 |
|---|---|
org.apache.pulsar.common.stats.AllocatorStats |
getAllocatorStats(String allocatorName) |
CompletableFuture<org.apache.pulsar.common.stats.AllocatorStats> |
getAllocatorStatsAsync(String allocatorName) |
com.google.gson.JsonObject |
getBrokerResourceAvailability(String namespace) |
org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport |
getLoadReport() |
CompletableFuture<org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport> |
getLoadReportAsync() |
com.google.gson.JsonArray |
getMBeans() |
CompletableFuture<com.google.gson.JsonArray> |
getMBeansAsync() |
com.google.gson.JsonArray |
getMetrics() |
CompletableFuture<com.google.gson.JsonArray> |
getMetricsAsync() |
com.google.gson.JsonObject |
getPendingBookieOpsStats() |
CompletableFuture<com.google.gson.JsonObject> |
getPendingBookieOpsStatsAsync() |
com.google.gson.JsonObject |
getTopics() |
CompletableFuture<com.google.gson.JsonObject> |
getTopicsAsync() |
asyncDeleteRequest, asyncDeleteRequest, asyncGetRequest, asyncPostRequest, asyncPutRequest, getApiException, getApiException, request, requestAsyncpublic BrokerStatsImpl(javax.ws.rs.client.WebTarget target,
org.apache.pulsar.client.api.Authentication auth,
long readTimeoutMs)
public com.google.gson.JsonArray getMetrics()
throws PulsarAdminException
getMetrics in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<com.google.gson.JsonArray> getMetricsAsync()
getMetricsAsync in interface BrokerStatspublic org.apache.pulsar.common.stats.AllocatorStats getAllocatorStats(String allocatorName) throws PulsarAdminException
getAllocatorStats in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<org.apache.pulsar.common.stats.AllocatorStats> getAllocatorStatsAsync(String allocatorName)
getAllocatorStatsAsync in interface BrokerStatspublic com.google.gson.JsonArray getMBeans()
throws PulsarAdminException
getMBeans in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<com.google.gson.JsonArray> getMBeansAsync()
getMBeansAsync in interface BrokerStatspublic com.google.gson.JsonObject getTopics()
throws PulsarAdminException
getTopics in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<com.google.gson.JsonObject> getTopicsAsync()
getTopicsAsync in interface BrokerStatspublic org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport getLoadReport()
throws PulsarAdminException
getLoadReport in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<org.apache.pulsar.policies.data.loadbalancer.LoadManagerReport> getLoadReportAsync()
getLoadReportAsync in interface BrokerStatspublic com.google.gson.JsonObject getPendingBookieOpsStats()
throws PulsarAdminException
getPendingBookieOpsStats in interface BrokerStatsPulsarAdminExceptionpublic CompletableFuture<com.google.gson.JsonObject> getPendingBookieOpsStatsAsync()
getPendingBookieOpsStatsAsync in interface BrokerStatspublic com.google.gson.JsonObject getBrokerResourceAvailability(String namespace) throws PulsarAdminException
PulsarAdminExceptionCopyright © 2017–2021 Apache Software Foundation. All rights reserved.