Exemple #1
0
 public Worker(IReadBuffer readBuffer, IBlockDictionary writeBuffer, IStatistics stats, ISettings settings)
 {
     this.writeDictionary = writeBuffer;
     this.stats           = stats;
     this.settings        = settings;
     this.readBuffer      = readBuffer;
 }
 public ThreadsCreator(IBlockDictionary outputBuffer,
                       IReader blockReader,
                       IWriter blockWriter,
                       IBlockQueue unusedSourceBlocks,
                       IBlockQueue filledSourceBlocks,
                       IStatistics stats,
                       ISettings settings,
                       IReadBuffer readBuffer)
 {
     this.outputBuffer       = outputBuffer;
     this.blockReader        = blockReader;
     this.blockWriter        = blockWriter;
     this.unusedSourceBlocks = unusedSourceBlocks;
     this.filledSourceBlocks = filledSourceBlocks;
     this.stats      = stats;
     this.settings   = settings;
     this.readBuffer = readBuffer;
 }
Exemple #3
0
 public Writer(IBlockDictionary source, IStatistics stats, ISettings settings)
 {
     this.source   = source;
     this.stats    = stats;
     this.settings = settings;
 }