public ScanAndCacheGroupsStage( Configuration config, RecordStore<RelationshipGroupRecord> store, RelationshipGroupCache cache, StatsProvider... additionalStatsProviders ) { super( NAME, null, config, RECYCLE_BATCHES ); add( new BatchFeedStep( control(), config, allInReversed( store, config ), store.getRecordSize() ) ); add( new ReadRecordsStep<>( control(), config, false, store ) ); add( new CacheGroupsStep( control(), config, cache, additionalStatsProviders ) ); } }
public ScanAndCacheGroupsStage( Configuration config, RecordStore<RelationshipGroupRecord> store, RelationshipGroupCache cache, StatsProvider... additionalStatsProviders ) { super( NAME, null, config, RECYCLE_BATCHES ); add( new BatchFeedStep( control(), config, allInReversed( store, config ), store.getRecordSize() ) ); add( new ReadRecordsStep<>( control(), config, false, store ) ); add( new CacheGroupsStep( control(), config, cache, additionalStatsProviders ) ); } }