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.
|
String |
getMBeans()
Requests JSON string server mbean dump.
|
CompletableFuture<String> |
getMBeansAsync()
Requests JSON string server mbean dump asynchronously.
|
String |
getMetrics()
Returns Monitoring metrics.
|
CompletableFuture<String> |
getMetricsAsync()
Returns Monitoring metrics asynchronously.
|
String |
getPendingBookieOpsStats()
Get pending bookie client op stats by namespace.
|
CompletableFuture<String> |
getPendingBookieOpsStatsAsync()
Get pending bookie client op stats by namespace asynchronously.
|
String |
getTopics()
Returns JSON string topics stats.
|
CompletableFuture<String> |
getTopicsAsync()
Returns JSON string topics stats asynchronously.
|
String getMetrics() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<String> getMetricsAsync()
String getMBeans() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<String> getMBeansAsync()
String getTopics() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<String> getTopicsAsync()
String getPendingBookieOpsStats() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<String> getPendingBookieOpsStatsAsync()
AllocatorStats getAllocatorStats(String allocatorName) throws PulsarAdminException
allocatorName - PulsarAdminExceptionCompletableFuture<AllocatorStats> getAllocatorStatsAsync(String allocatorName)
allocatorName - LoadManagerReport getLoadReport() throws PulsarAdminException
PulsarAdminExceptionCompletableFuture<LoadManagerReport> getLoadReportAsync()
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.