code: public int dequeuePathQueries(final VisitState visitState, final int maxUrls) throws IOException {
  		if (maxUrls == 0) return 0;
  		final int dequeued = (int)Math.min(maxUrls, byteArrayDiskQueues.count(visitState));
  		for(int i = dequeued; i-- != 0;) visitState.enqueuePathQuery(byteArrayDiskQueues.dequeue(visitState));
  		return dequeued;
  	}
docs: Dequeues at most the given number of path+queries into the given visit state.
  
  <p>Note that the path+queries are directly enqueued into the visit state using
  {@link VisitState#enqueuePathQuery(byte[])}.
  
  @param visitState the visitState in which path+queries will be moved.
  @param maxUrls the maximum number of path+queries to move.
  @return the number of actually dequeued path+queries.
  @throws IOException