Class DefaultNamespaceBundleSplitStrategyImpl
java.lang.Object
org.apache.pulsar.broker.loadbalance.extensions.strategy.DefaultNamespaceBundleSplitStrategyImpl
- All Implemented Interfaces:
NamespaceBundleSplitStrategy
public class DefaultNamespaceBundleSplitStrategyImpl
extends Object
implements NamespaceBundleSplitStrategy
Determines which bundles should be split based on various thresholds.
Migrate from
BundleSplitterTask-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindBundlesToSplit(LoadManagerContext context, PulsarService pulsar) Determines which bundles, if any, should be split.
-
Constructor Details
-
DefaultNamespaceBundleSplitStrategyImpl
-
-
Method Details
-
findBundlesToSplit
Description copied from interface:NamespaceBundleSplitStrategyDetermines which bundles, if any, should be split.- Specified by:
findBundlesToSplitin interfaceNamespaceBundleSplitStrategy- Parameters:
context- The context used for decisions.- Returns:
- A set of the bundles that should be split.
-