public void addBatch(Tuple tuple){
  tupleBatch.add(tuple);
  if (tupleBatch.size() >= batchSize) {
    forceFlush=true;
  }
}

public void addBatch ( Tuple tuple ) { tupleBatch . add ( tuple ) ; if ( tupleBatch . size ( ) >= batchSize ) { forceFlush = true ; } }
adds a tuple to the batch .
