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