@Deprecated public class ParentsFirstShardPrioritization extends Object implements ShardPrioritization
| Constructor and Description |
|---|
ParentsFirstShardPrioritization(int maxDepth)
Deprecated.
Creates ParentFirst prioritization with filtering based on depth of the shard.
|
| Modifier and Type | Method and Description |
|---|---|
List<ShardInfo> |
prioritize(List<ShardInfo> original)
Deprecated.
Returns new list of shards ordered based on their priority.
|
public ParentsFirstShardPrioritization(int maxDepth)
maxDepth - any shard that is deeper than max depth, will be excluded from processingpublic List<ShardInfo> prioritize(List<ShardInfo> original)
ShardPrioritizationprioritize in interface ShardPrioritizationoriginal - list of shards needed to be prioritizedCopyright © 2024. All rights reserved.