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();
}
}
Aggregations