public class ConstrainedIndexerScheduler extends Object implements IndexerScheduler
Indexer
jobs asynchronously based on assigned priorites and dependency
relations given for indexer IDs.Modifier and Type | Class and Description |
---|---|
static class |
ConstrainedIndexerScheduler.ConstraintBuilder
Builder for defining priorities and dependencies of
Indexer jobs. |
IndexerScheduler.Factory
Modifier and Type | Method and Description |
---|---|
Stream<CompletableFuture<org.uberfire.commons.data.Pair<String,List<IndexEvent>>>> |
schedule(ExecutorService executor) |
public Stream<CompletableFuture<org.uberfire.commons.data.Pair<String,List<IndexEvent>>>> schedule(ExecutorService executor)
schedule
in interface IndexerScheduler
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.