public class GenericBrokerHostUsageImpl extends Object implements BrokerHostUsage
| Constructor and Description |
|---|
GenericBrokerHostUsageImpl(int hostUsageCheckIntervalMin,
ScheduledExecutorService executorService) |
GenericBrokerHostUsageImpl(PulsarService pulsar) |
| Modifier and Type | Method and Description |
|---|---|
void |
calculateBrokerHostUsage()
Calculate the host usage information.
|
org.apache.pulsar.policies.data.loadbalancer.SystemResourceUsage |
getBrokerHostUsage()
Returns the host usage information.
|
public GenericBrokerHostUsageImpl(PulsarService pulsar)
public GenericBrokerHostUsageImpl(int hostUsageCheckIntervalMin,
ScheduledExecutorService executorService)
public org.apache.pulsar.policies.data.loadbalancer.SystemResourceUsage getBrokerHostUsage()
BrokerHostUsagegetBrokerHostUsage in interface BrokerHostUsagepublic void calculateBrokerHostUsage()
BrokerHostUsagecalculateBrokerHostUsage in interface BrokerHostUsageCopyright © 2017–2022 Apache Software Foundation. All rights reserved.