 notifyAll();
     }

     public void rollAtFixedRate(int period, TimeUnit timeUnit) {
       Executors.newScheduledThreadPool(0).scheduleAtFixedRate(new Runnable() {
         public void run() {
           roll();
          }
       }, 0, period, timeUnit);
     }

     public synchronized void awaitTotal(Timeout timeout, int total)
         throws InterruptedIOException {
       while (latestTotal != total) {
         timeout.waitUntilNotified(this);
       }
     }
   }
 </code></pre></div>
<dl>
<dt><sp