code: public void flushInsert()
      {
          if (!useBulkInsert)
          {
              for (int i = 0; i < numberOfQueues; i++)
              {
                  if (!insertLists[i].isEmpty())
                  {
                      this.submitTaskToQueue(this.createInsertTask(insertLists[i]), i, processedInserts);
                      this.insertLists[i] = new ArrayList(batchSize);
                      this.insertsQueued++;
                  }
              }
          }
      }
docs: flushes any remaining objects. called automatically from waitUntilFinished(). Has no effect when in bulk insert mode.