接口 BrokerStats
-
public interface BrokerStatsAdmin interface for brokers management.
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 AllocatorStatsgetAllocatorStats(java.lang.String allocatorName)Get the stats for the Netty allocator.java.util.concurrent.CompletableFuture<AllocatorStats>getAllocatorStatsAsync(java.lang.String allocatorName)Get the stats for the Netty allocator asynchronously.LoadManagerReportgetLoadReport()Get load for this broker.java.util.concurrent.CompletableFuture<LoadManagerReport>getLoadReportAsync()Get load for this broker asynchronously.java.lang.StringgetMBeans()Requests JSON string server mbean dump.java.util.concurrent.CompletableFuture<java.lang.String>getMBeansAsync()Requests JSON string server mbean dump asynchronously.java.lang.StringgetMetrics()Returns Monitoring metrics.java.util.concurrent.CompletableFuture<java.lang.String>getMetricsAsync()Returns Monitoring metrics asynchronously.java.lang.StringgetPendingBookieOpsStats()Get pending bookie client op stats by namespace.java.util.concurrent.CompletableFuture<java.lang.String>getPendingBookieOpsStatsAsync()Get pending bookie client op stats by namespace asynchronously.java.lang.StringgetTopics()Returns JSON string topics stats.java.util.concurrent.CompletableFuture<java.lang.String>getTopicsAsync()Returns JSON string topics stats asynchronously.
-
-
-
方法详细资料
-
getMetrics
java.lang.String getMetrics() throws PulsarAdminExceptionReturns Monitoring metrics.- 返回:
- 抛出:
PulsarAdminException
-
getMetricsAsync
java.util.concurrent.CompletableFuture<java.lang.String> getMetricsAsync()
Returns Monitoring metrics asynchronously.- 返回:
-
getMBeans
java.lang.String getMBeans() throws PulsarAdminExceptionRequests JSON string server mbean dump. Notes: since we don't plan to introspect the response we avoid converting the response into POJO.- 返回:
- 抛出:
PulsarAdminException
-
getMBeansAsync
java.util.concurrent.CompletableFuture<java.lang.String> getMBeansAsync()
Requests JSON string server mbean dump asynchronously. Notes: since we don't plan to introspect the response we avoid converting the response into POJO.- 返回:
-
getTopics
java.lang.String getTopics() throws PulsarAdminExceptionReturns JSON string topics stats. Notes: since we don't plan to introspect the response we avoid converting the response into POJO.- 返回:
- 抛出:
PulsarAdminException
-
getTopicsAsync
java.util.concurrent.CompletableFuture<java.lang.String> getTopicsAsync()
Returns JSON string topics stats asynchronously. Notes: since we don't plan to introspect the response we avoid converting the response into POJO.- 返回:
-
getPendingBookieOpsStats
java.lang.String getPendingBookieOpsStats() throws PulsarAdminExceptionGet pending bookie client op stats by namespace. Notes: since we don't plan to introspect the response we avoid converting the response into POJO.- 返回:
- 抛出:
PulsarAdminException
-
getPendingBookieOpsStatsAsync
java.util.concurrent.CompletableFuture<java.lang.String> getPendingBookieOpsStatsAsync()
Get pending bookie client op stats by namespace asynchronously. Notes: since we don't plan to introspect the response we avoid converting the response into POJO.- 返回:
-
getAllocatorStats
AllocatorStats getAllocatorStats(java.lang.String allocatorName) throws PulsarAdminException
Get the stats for the Netty allocator.- 参数:
allocatorName-- 返回:
- 抛出:
PulsarAdminException
-
getAllocatorStatsAsync
java.util.concurrent.CompletableFuture<AllocatorStats> getAllocatorStatsAsync(java.lang.String allocatorName)
Get the stats for the Netty allocator asynchronously.- 参数:
allocatorName-- 返回:
-
getLoadReport
LoadManagerReport getLoadReport() throws PulsarAdminException
Get load for this broker.- 返回:
- 抛出:
PulsarAdminException
-
getLoadReportAsync
java.util.concurrent.CompletableFuture<LoadManagerReport> getLoadReportAsync()
Get load for this broker asynchronously.- 返回:
-
-