public class BrokerStatsImpl extends BaseResource implements BrokerStats
| Constructor and Description |
|---|
BrokerStatsImpl(javax.ws.rs.client.WebTarget target,
Authentication auth) |
| Modifier and Type | Method and Description |
|---|---|
AllocatorStats |
getAllocatorStats(String allocatorName) |
com.google.gson.JsonObject |
getBrokerResourceAvailability(String namespace) |
LoadManagerReport |
getLoadReport() |
com.google.gson.JsonArray |
getMBeans()
Requests JSON string server mbean dump
|
com.google.gson.JsonArray |
getMetrics()
Returns Monitoring metrics
|
com.google.gson.JsonObject |
getPendingBookieOpsStats() |
com.google.gson.JsonObject |
getTopics()
Returns JSON string topics stats
|
asyncDeleteRequest, asyncGetRequest, asyncPostRequest, asyncPutRequest, getApiException, requestpublic BrokerStatsImpl(javax.ws.rs.client.WebTarget target,
Authentication auth)
public com.google.gson.JsonArray getMetrics()
throws PulsarAdminException
BrokerStatsgetMetrics in interface BrokerStatsPulsarAdminExceptionpublic AllocatorStats getAllocatorStats(String allocatorName) throws PulsarAdminException
getAllocatorStats in interface BrokerStatsPulsarAdminExceptionpublic com.google.gson.JsonArray getMBeans()
throws PulsarAdminException
BrokerStatsNotes: since we don't plan to introspect the response we avoid converting the response into POJO.
getMBeans in interface BrokerStatsPulsarAdminExceptionpublic com.google.gson.JsonObject getTopics()
throws PulsarAdminException
BrokerStatsNotes: since we don't plan to introspect the response we avoid converting the response into POJO.
getTopics in interface BrokerStatsPulsarAdminExceptionpublic LoadManagerReport getLoadReport() throws PulsarAdminException
getLoadReport in interface BrokerStatsPulsarAdminExceptionpublic com.google.gson.JsonObject getPendingBookieOpsStats()
throws PulsarAdminException
getPendingBookieOpsStats in interface BrokerStatsPulsarAdminExceptionpublic com.google.gson.JsonObject getBrokerResourceAvailability(String namespace) throws PulsarAdminException
PulsarAdminExceptionCopyright © 2017–2018 Apache Software Foundation. All rights reserved.