Interface BundleSplitStrategy
-
- All Known Implementing Classes:
BundleSplitterTask
public interface BundleSplitStrategyLoad Manager component which determines what bundles should be split into two bundles.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Set<java.lang.String>findBundlesToSplit(LoadData loadData, PulsarService pulsar)Determines which bundles, if any, should be split.
-
-
-
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.
-
-