Interface BundleSplitStrategy

  • All Known Implementing Classes:
    BundleSplitterTask

    public interface BundleSplitStrategy
    Load Manager component which determines what bundles should be split into two bundles.
    • Method Detail

      • findBundlesToSplit

        java.util.Set<java.lang.String> findBundlesToSplit​(LoadData loadData,
                                                           PulsarService pulsar)
        Determines which bundles, if any, should be split.
        Parameters:
        loadData - Load data to base decisions on (does not have benefit of preallocated data since this may not be the leader broker).
        pulsar - Service to use.
        Returns:
        A set of the bundles that should be split.