Class GenericBrokerHostUsageImpl

  • All Implemented Interfaces:
    BrokerHostUsage

    public class GenericBrokerHostUsageImpl
    extends java.lang.Object
    implements BrokerHostUsage
    Class that will return the broker host usage.
    • Constructor Detail

      • GenericBrokerHostUsageImpl

        public GenericBrokerHostUsageImpl​(PulsarService pulsar)
      • GenericBrokerHostUsageImpl

        public GenericBrokerHostUsageImpl​(int hostUsageCheckIntervalMin,
                                          java.util.concurrent.ScheduledExecutorService executorService)
    • Method Detail

      • getBrokerHostUsage

        public org.apache.pulsar.policies.data.loadbalancer.SystemResourceUsage getBrokerHostUsage()
        Description copied from interface: BrokerHostUsage
        Returns the host usage information.
        Specified by:
        getBrokerHostUsage in interface BrokerHostUsage
        Returns:
        Broker host usage in the json string format