Search in sources :

Example 1 with ConstraintRuleAccessor

use of org.neo4j.storageengine.api.ConstraintRuleAccessor in project neo4j by neo4j.

the class SchemaCache method load.

public void load(Iterable<SchemaRule> rules) {
    cacheUpdateLock.lock();
    try {
        ConstraintRuleAccessor constraintSemantics = schemaCacheState.constraintSemantics;
        IndexConfigCompleter indexConfigCompleter = schemaCacheState.indexConfigCompleter;
        this.schemaCacheState = new SchemaCacheState(constraintSemantics, indexConfigCompleter, rules);
    } finally {
        cacheUpdateLock.unlock();
    }
}
Also used : IndexConfigCompleter(org.neo4j.internal.schema.IndexConfigCompleter) ConstraintRuleAccessor(org.neo4j.storageengine.api.ConstraintRuleAccessor)

Aggregations

IndexConfigCompleter (org.neo4j.internal.schema.IndexConfigCompleter)1 ConstraintRuleAccessor (org.neo4j.storageengine.api.ConstraintRuleAccessor)1