Interface BrokerHostUsage
- All Known Implementing Classes:
GenericBrokerHostUsageImpl,LinuxBrokerHostUsageImpl
public interface BrokerHostUsage
Class that will return the broker host usage.
-
Method Summary
Modifier and TypeMethodDescriptionvoidCalculate the host usage information.org.apache.pulsar.policies.data.loadbalancer.SystemResourceUsageReturns 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.
-