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