use of org.neo4j.consistency.checking.cache.CacheTask in project neo4j by neo4j.
the class RecordAccessStub method populateCache.
public void populateCache() {
CacheTask action = new CacheTask.CacheNextRel(CheckStage.Stage3_NS_NextRel, cacheAccess, resourceIterable(new IterableWrapper<NodeRecord, Delta<NodeRecord>>(nodes.values()) {
@Override
protected NodeRecord underlyingObjectToObject(Delta<NodeRecord> node) {
return node.newRecord;
}
}));
action.run();
}
Aggregations