Class TopKBundles
java.lang.Object
org.apache.pulsar.broker.loadbalance.extensions.models.TopKBundles
Defines the information of top k highest-loaded bundles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidpartitionSort(List<Map.Entry<String, ? extends Comparable>> arr, int k) voidupdate(Map<String, org.apache.pulsar.policies.data.loadbalancer.NamespaceBundleStats> bundleStats, int topk) Update the topK bundles from the input bundleStats.
-
Constructor Details
-
TopKBundles
-
-
Method Details