Esempio n. 1
0
 private void WriteIntoOutput()
 {
     NLogStart();
     foreach (var row in AggregationData)
     {
         StoreKeyAction?.Invoke(row.Key, row.Value);
         OutputBuffer.SendAsync(row.Value).Wait();
         LogProgress();
     }
     NLogFinish();
 }
Esempio n. 2
0
 private void WriteIntoOutput()
 {
     foreach (var row in AggregationData)
     {
         StoreKeyAction?.Invoke(row.Key, row.Value);
         if (!OutputBuffer.SendAsync(row.Value).Result)
         {
             throw new ETLBoxException("Buffer already completed or faulted!", this.Exception);
         }
         LogProgress();
     }
 }