use of org.neo4j.kernel.impl.enterprise.EnterpriseConstraintSemantics in project neo4j by neo4j.
the class EnterpriseCoreEditionModule method editionInvariants.
private void editionInvariants(PlatformModule platformModule, Dependencies dependencies, Config config, LogService logging, LifeSupport life) {
statementLocksFactory = new StatementLocksFactorySelector(lockManager, config, logging).select();
dependencies.satisfyDependency(createKernelData(platformModule.fileSystem, platformModule.pageCache, platformModule.storeDir, config, platformModule.graphDatabaseFacade, life));
ioLimiter = new ConfigurableIOLimiter(platformModule.config);
headerInformationFactory = createHeaderInformationFactory();
schemaWriteGuard = createSchemaWriteGuard();
transactionStartTimeout = config.get(GraphDatabaseSettings.transaction_start_timeout);
constraintSemantics = new EnterpriseConstraintSemantics();
coreAPIAvailabilityGuard = new CoreAPIAvailabilityGuard(platformModule.availabilityGuard, transactionStartTimeout);
registerRecovery(platformModule.databaseInfo, life, dependencies);
publishEditionInfo(dependencies.resolveDependency(UsageData.class), platformModule.databaseInfo, config);
dependencies.satisfyDependency(createSessionTracker());
}
Aggregations