Interface BrokerHostUsage

All Known Implementing Classes:
GenericBrokerHostUsageImpl, LinuxBrokerHostUsageImpl

public interface BrokerHostUsage
Class that will return the broker host usage.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Calculate the host usage information.
    org.apache.pulsar.policies.data.loadbalancer.SystemResourceUsage
    Returns the host usage information.
  • Method Details

    • getBrokerHostUsage

      org.apache.pulsar.policies.data.loadbalancer.SystemResourceUsage getBrokerHostUsage()
      Returns the host usage information.
      Returns:
      Broker host usage in the json string format
    • calculateBrokerHostUsage

      void calculateBrokerHostUsage()
      Calculate the host usage information.