use of org.neo4j.kernel.api.index.IndexPopulator.PopulationWorkScheduler in project neo4j by neo4j.
the class PartMergerTest method setUp.
@BeforeEach
void setUp() {
scheduler = new ThreadPoolJobScheduler();
populationWorkScheduler = new PopulationWorkScheduler() {
@Override
public <T> JobHandle<T> schedule(IndexPopulator.JobDescriptionSupplier descriptionSupplier, Callable<T> job) {
return scheduler.schedule(Group.INDEX_POPULATION_WORK, NOT_MONITORED, job);
}
};
}
Aggregations