Similar to 'org.apache.uima.collection.CollectionReader' method hasNext() except
interations represents the actual number of documents to be processed, so if the
total number of documents in a queue is more than the 'Iterations' value then only
the iteration amount will be processed.