Search in sources :

Example 1 with IndexReaderFactory

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);
}
Also used : LockService(org.neo4j.kernel.impl.locking.LockService) StoreStatement(org.neo4j.kernel.impl.api.store.StoreStatement) IndexReaderFactory(org.neo4j.kernel.impl.api.IndexReaderFactory)

Aggregations

IndexReaderFactory (org.neo4j.kernel.impl.api.IndexReaderFactory)1 StoreStatement (org.neo4j.kernel.impl.api.store.StoreStatement)1 LockService (org.neo4j.kernel.impl.locking.LockService)1