class BatchTinyTablesTripleProvider implements TinyTablesTripleProvider {

  @Override
  public synchronized TinyTablesTriple getNextTriple() {
    if (triples.isEmpty()) {
      generateNewTriples();
    }
    return triples.poll();
  }

  public  BatchTinyTablesTripleProvider(TinyTablesTripleGenerator generator, int batchSize);

}