/* * Test access to be able to control page size. */ internal NativeLabelScanStore(PageCache pageCache, DatabaseLayout directoryStructure, FileSystemAbstraction fs, FullStoreChangeStream fullStoreChangeStream, bool readOnly, Monitors monitors, RecoveryCleanupWorkCollector recoveryCleanupWorkCollector, int pageSize) { this._pageCache = pageCache; this._fs = fs; this._pageSize = pageSize; this._fullStoreChangeStream = fullStoreChangeStream; this._directoryStructure = directoryStructure; this._storeFile = GetLabelScanStoreFile(directoryStructure); this._readOnly = readOnly; this._monitors = monitors; this._monitor = monitors.NewMonitor(typeof(Org.Neo4j.Kernel.api.labelscan.LabelScanStore_Monitor)); this._recoveryCleanupWorkCollector = recoveryCleanupWorkCollector; this._fileSystem = fs; }
protected internal override LabelScanStore CreateLabelScanStore(FileSystemAbstraction fileSystemAbstraction, DatabaseLayout databaseLayout, FullStoreChangeStream fullStoreChangeStream, bool usePersistentStore, bool readOnly, Org.Neo4j.Kernel.api.labelscan.LabelScanStore_Monitor monitor) { Monitors monitors = new Monitors(); monitors.AddMonitorListener(monitor); return(GetLabelScanStore(fileSystemAbstraction, databaseLayout, fullStoreChangeStream, readOnly, monitors)); }
protected internal abstract LabelScanStore CreateLabelScanStore(FileSystemAbstraction fileSystemAbstraction, DatabaseLayout databaseLayout, FullStoreChangeStream fullStoreChangeStream, bool usePersistentStore, bool readOnly, Org.Neo4j.Kernel.api.labelscan.LabelScanStore_Monitor monitor);