Uses of Class
org.apache.pulsar.broker.loadbalance.LoadData
Packages that use LoadData
-
Uses of LoadData in org.apache.pulsar.broker.loadbalance
Methods in org.apache.pulsar.broker.loadbalance with parameters of type LoadDataModifier and TypeMethodDescriptionvoidBrokerFilter.filter(Set<String> brokers, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) From the given set of available broker candidates, filter those using the load data.LoadSheddingStrategy.findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf) Recommend that all of the returned bundles be unloaded.BundleSplitStrategy.findBundlesToSplit(LoadData loadData, PulsarService pulsar) Determines which bundles, if any, should be split.ModularLoadManagerStrategy.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) Find a suitable broker to assign the given bundle to. -
Uses of LoadData in org.apache.pulsar.broker.loadbalance.impl
Methods in org.apache.pulsar.broker.loadbalance.impl with parameters of type LoadDataModifier and TypeMethodDescriptionvoidBrokerLoadManagerClassFilter.filter(Set<String> brokers, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) voidBrokerVersionFilter.filter(Set<String> brokers, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) From the given set of available broker candidates, filter those using the version numbers.static voidLoadManagerShared.filterBrokersWithLargeTopicCount(Set<String> brokerCandidateCache, LoadData loadData, int loadBalancerBrokerMaxTopics) It filters out brokers which owns topic higher than configured threshold at ServiceConfiguration.loadBalancerBrokerMaxTopics.AvgShedder.findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf) OverloadShedder.findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf) Attempt to shed some bundles off every broker which is overloaded.ThresholdShedder.findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf) UniformLoadShedder.findBundlesForUnloading(LoadData loadData, ServiceConfiguration conf) Attempt to shed some bundles off every broker which is overloaded.BundleSplitterTask.findBundlesToSplit(LoadData loadData, PulsarService pulsar) Determines which bundles should be split based on various thresholds.com.github.zafarkhaja.semver.VersionBrokerVersionFilter.getLatestVersionNumber(Set<String> brokers, LoadData loadData) Get the most recent broker version number from the load reports of all the running brokers.AvgShedder.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) LeastLongTermMessageRate.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) Find a suitable broker to assign the given bundle to.LeastResourceUsageWithWeight.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf) Find a suitable broker to assign the given bundle to.RoundRobinBrokerSelector.selectBroker(Set<String> candidates, org.apache.pulsar.policies.data.loadbalancer.BundleData bundleToAssign, LoadData loadData, ServiceConfiguration conf)