Interface BrokerStats


  • public interface BrokerStats
    Admin interface for brokers management.
    • Method Detail

      • getMetricsAsync

        java.util.concurrent.CompletableFuture<java.lang.String> getMetricsAsync()
        Returns Monitoring metrics asynchronously.
        Returns:
      • getMBeans

        java.lang.String getMBeans()
                            throws PulsarAdminException
        Requests JSON string server mbean dump.

        Notes: since we don't plan to introspect the response we avoid converting the response into POJO.

        Returns:
        Throws:
        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.

        Returns:
      • getTopics

        java.lang.String getTopics()
                            throws PulsarAdminException
        Returns JSON string topics stats.

        Notes: since we don't plan to introspect the response we avoid converting the response into POJO.

        Returns:
        Throws:
        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.

        Returns:
      • getPendingBookieOpsStats

        java.lang.String getPendingBookieOpsStats()
                                           throws PulsarAdminException
        Get pending bookie client op stats by namespace.

        Notes: since we don't plan to introspect the response we avoid converting the response into POJO.

        Returns:
        Throws:
        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.

        Returns:
      • getAllocatorStatsAsync

        java.util.concurrent.CompletableFuture<AllocatorStats> getAllocatorStatsAsync​(java.lang.String allocatorName)
        Get the stats for the Netty allocator asynchronously.
        Parameters:
        allocatorName -
        Returns:
      • getLoadReportAsync

        java.util.concurrent.CompletableFuture<LoadManagerReport> getLoadReportAsync()
        Get load for this broker asynchronously.
        Returns: