Package org.apache.pulsar.common.naming
Class RangeEquallyDivideBundleSplitAlgorithm
java.lang.Object
org.apache.pulsar.common.naming.RangeEquallyDivideBundleSplitAlgorithm
- All Implemented Interfaces:
NamespaceBundleSplitAlgorithm
public class RangeEquallyDivideBundleSplitAlgorithm
extends Object
implements NamespaceBundleSplitAlgorithm
This algorithm divides the bundle into two parts with the same hash range size.
-
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
-
RangeEquallyDivideBundleSplitAlgorithm
public RangeEquallyDivideBundleSplitAlgorithm()
-
-
Method Details
-
getSplitBoundary
- Specified by:
getSplitBoundaryin interfaceNamespaceBundleSplitAlgorithm
-