public interface NamespaceBundleSplitAlgorithm
| Modifier and Type | Field and Description |
|---|---|
static List<String> |
AVAILABLE_ALGORITHMS |
static NamespaceBundleSplitAlgorithm |
RANGE_EQUALLY_DIVIDE_ALGO |
static String |
RANGE_EQUALLY_DIVIDE_NAME |
static String |
TOPIC_COUNT_EQUALLY_DIVIDE |
static NamespaceBundleSplitAlgorithm |
TOPIC_COUNT_EQUALLY_DIVIDE_ALGO |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Long> |
getSplitBoundary(NamespaceService service,
NamespaceBundle bundle) |
static NamespaceBundleSplitAlgorithm |
of(String algorithmName) |
static final String RANGE_EQUALLY_DIVIDE_NAME
static final String TOPIC_COUNT_EQUALLY_DIVIDE
static final NamespaceBundleSplitAlgorithm RANGE_EQUALLY_DIVIDE_ALGO
static final NamespaceBundleSplitAlgorithm TOPIC_COUNT_EQUALLY_DIVIDE_ALGO
static NamespaceBundleSplitAlgorithm of(String algorithmName)
CompletableFuture<Long> getSplitBoundary(NamespaceService service, NamespaceBundle bundle)
Copyright © 2017–2022 Apache Software Foundation. All rights reserved.