public RelationshipGroupStage( String topic, Configuration config, RecordStore<RelationshipGroupRecord> store, NodeRelationshipCache cache ) { super( NAME, topic, config, RECYCLE_BATCHES ); add( new ReadGroupRecordsByCacheStep( control(), config, store, cache ) ); add( new UpdateRecordsStep<>( control(), config, store, new StorePrepareIdSequence() ) ); } }
public RelationshipGroupStage( String topic, Configuration config, RecordStore<RelationshipGroupRecord> store, NodeRelationshipCache cache ) { super( NAME, topic, config, RECYCLE_BATCHES ); add( new ReadGroupRecordsByCacheStep( control(), config, store, cache ) ); add( new UpdateRecordsStep<>( control(), config, store, new StorePrepareIdSequence() ) ); } }