public interface BrokerStats
| Modifier and Type | Method and Description |
|---|---|
AllocatorStats |
getAllocatorStats(String allocatorName)
Get the stats for the Netty allocator.
|
CompletableFuture<AllocatorStats> |
getAllocatorStatsAsync(String allocatorName)
Get the stats for the Netty allocator asynchronously.
|
LoadManagerReport |
getLoadReport()
Get load for this broker.
|
CompletableFuture<LoadManagerReport> |
getLoadReportAsync()
Get load for this broker asynchronously.
|
com.google.gson.JsonArray |
getMBeans()
Requests JSON string server mbean dump.
|
CompletableFuture<com.google.gson.JsonArray> |
getMBeansAsync()
Requests JSON string server mbean dump asynchronously.
|
com.google.gson.JsonArray |
getMetrics()
Returns Monitoring metrics.
|
CompletableFuture<com.google.gson.JsonArray> |
getMetricsAsync()
Returns Monitoring metrics asynchronously.
|
com.google.gson.JsonObject |
getPendingBookieOpsStats()
Get pending bookie client op stats by namespace.
|
CompletableFuture<com.google.gson.JsonObject> |
getPendingBookieOpsStatsAsync()
Get pending bookie client op stats by namespace asynchronously.
|
com.google.gson.JsonObject |
getTopics()
Returns JSON string topics stats.
|
CompletableFuture<com.google.gson.JsonObject> |
getTopicsAsync()
Returns JSON string topics stats asynchronously.
|
com.google.gson.JsonArray getMetrics()
throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<com.google.gson.JsonArray> getMetricsAsync()
com.google.gson.JsonArray getMBeans()
throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<com.google.gson.JsonArray> getMBeansAsync()
com.google.gson.JsonObject getTopics()
throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<com.google.gson.JsonObject> getTopicsAsync()
com.google.gson.JsonObject getPendingBookieOpsStats()
throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<com.google.gson.JsonObject> getPendingBookieOpsStatsAsync()
AllocatorStats getAllocatorStats(String allocatorName) throws PulsarAdminException
allocatorName - PulsarAdminExceptionCompletableFuture<AllocatorStats> getAllocatorStatsAsync(String allocatorName)
allocatorName - LoadManagerReport getLoadReport() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<LoadManagerReport> getLoadReportAsync()
Copyright © 2017–2021 Apache Software Foundation. All rights reserved.