Interface LoadSheddingStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.common.collect.Multimap<java.lang.String,​java.lang.String> findBundlesForUnloading​(LoadData loadData, org.apache.pulsar.broker.ServiceConfiguration conf)
      Recommend that all of the returned bundles be unloaded.
    • Method Detail

      • findBundlesForUnloading

        com.google.common.collect.Multimap<java.lang.String,​java.lang.String> findBundlesForUnloading​(LoadData loadData,
                                                                                                            org.apache.pulsar.broker.ServiceConfiguration conf)
        Recommend that all of the returned bundles be unloaded.
        Parameters:
        loadData - The load data to used to make the unloading decision.
        conf - The service configuration.
        Returns:
        A map from all selected bundles to the brokers on which they reside.