use of org.neo4j.kernel.impl.api.IndexReaderFactory in project neo4j by neo4j.
the class RecordStorageEngine method storeStatementSupplier.
private Supplier<StorageStatement> storeStatementSupplier(NeoStores neoStores) {
Supplier<IndexReaderFactory> indexReaderFactory = () -> new IndexReaderFactory.Caching(indexingService);
LockService lockService = takePropertyReadLocks ? this.lockService : NO_LOCK_SERVICE;
return () -> new StoreStatement(neoStores, indexReaderFactory, labelScanStore::newReader, lockService);
}
Aggregations