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