Search in sources :

Example 1 with EnterpriseConstraintSemantics

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());
}
Also used : UsageData(org.neo4j.udc.UsageData) StatementLocksFactorySelector(org.neo4j.kernel.impl.factory.StatementLocksFactorySelector) EnterpriseConstraintSemantics(org.neo4j.kernel.impl.enterprise.EnterpriseConstraintSemantics) ConfigurableIOLimiter(org.neo4j.kernel.impl.enterprise.transaction.log.checkpoint.ConfigurableIOLimiter) CoreAPIAvailabilityGuard(org.neo4j.kernel.impl.coreapi.CoreAPIAvailabilityGuard)

Aggregations

CoreAPIAvailabilityGuard (org.neo4j.kernel.impl.coreapi.CoreAPIAvailabilityGuard)1 EnterpriseConstraintSemantics (org.neo4j.kernel.impl.enterprise.EnterpriseConstraintSemantics)1 ConfigurableIOLimiter (org.neo4j.kernel.impl.enterprise.transaction.log.checkpoint.ConfigurableIOLimiter)1 StatementLocksFactorySelector (org.neo4j.kernel.impl.factory.StatementLocksFactorySelector)1 UsageData (org.neo4j.udc.UsageData)1