Esempio n. 1
0
 private void WaitForAllTasks()
 {
     try
     {
         Predicates.await(() => _writerTaskCounter.longValue() == 0, 10, TimeUnit.MINUTES, 10, TimeUnit.MILLISECONDS);
     }
     catch (Exception t)
     {
         throw new Exception(t);
     }
 }
Esempio n. 2
0
 public override long NumberOfRequests()
 {
     return(_events.longValue());
 }
 public override long AsLong()
 {
     return(_progress.longValue());
 }