Example #1
0
 @Override
 protected void handleClose() throws QueryEvaluationException {
   try {
     super.handleClose();
   } finally {
     Iterations.closeCloseable(currentIter);
   }
 }
Example #2
0
 @Override
 public void handleClose() throws QueryEvaluationException {
   try {
     super.handleClose();
   } finally {
     done.set(true);
     do {
       queue.clear(); // ensure extra room is available
     } while (!queue.offer(afterLast));
     checkException();
   }
 }