Example #1
0
 @Override
 public void add(Chunk event) throws InterruptedException {
   myBuffer.add(event);
   dest.add(event);
 }
Example #2
0
 @Override
 public void committed(long l) {
   myBuffer.removeUpTo(l);
 }