Package org.apache.pulsar.common.naming
Class TopicCountEquallyDivideBundleSplitAlgorithm
java.lang.Object
org.apache.pulsar.common.naming.TopicCountEquallyDivideBundleSplitAlgorithm
- All Implemented Interfaces:
NamespaceBundleSplitAlgorithm
public class TopicCountEquallyDivideBundleSplitAlgorithm
extends Object
implements NamespaceBundleSplitAlgorithm
This algorithm divides the bundle into two parts with the same topics count.
-
Field Summary
Fields inherited from interface org.apache.pulsar.common.naming.NamespaceBundleSplitAlgorithm
AVAILABLE_ALGORITHMS, RANGE_EQUALLY_DIVIDE_ALGO, RANGE_EQUALLY_DIVIDE_NAME, SPECIFIED_POSITIONS_DIVIDE, SPECIFIED_POSITIONS_DIVIDE_ALGO, TOPIC_COUNT_EQUALLY_DIVIDE, TOPIC_COUNT_EQUALLY_DIVIDE_ALGO -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TopicCountEquallyDivideBundleSplitAlgorithm
public TopicCountEquallyDivideBundleSplitAlgorithm()
-
-
Method Details
-
getSplitBoundary
- Specified by:
getSplitBoundaryin interfaceNamespaceBundleSplitAlgorithm
-