use of org.neo4j.kernel.info.DiagnosticsManager in project neo4j by neo4j.
the class EditionModule method doAfterRecoveryAndStartup.
protected void doAfterRecoveryAndStartup(DatabaseInfo databaseInfo, DependencyResolver dependencyResolver) {
DiagnosticsManager diagnosticsManager = dependencyResolver.resolveDependency(DiagnosticsManager.class);
NeoStoreDataSource neoStoreDataSource = dependencyResolver.resolveDependency(NeoStoreDataSource.class);
diagnosticsManager.prependProvider(new KernelDiagnostics.Versions(databaseInfo, neoStoreDataSource.getStoreId()));
neoStoreDataSource.registerDiagnosticsWith(diagnosticsManager);
diagnosticsManager.appendProvider(new KernelDiagnostics.StoreFiles(neoStoreDataSource.getStoreDir()));
}
Aggregations