code: public synchronized void flushInsert()
      {
          if (!insertForUpdateList.isEmpty())
          {
              int sent = this.submitInsert(insertForUpdateList);
              if (sent < insertForUpdateList.size())
              {
                  this.submitInsertTaskToQueue(this.createInsertTaskForObjects(insertForUpdateList.subList(sent, insertForUpdateList.size())), processedInserts);
              }
              this.insertForUpdateList = new MithraFastList(insertBatchSize);
          }
  
          if (!insertList.isEmpty())
          {
              int sent = this.submitInsert(insertList);
              if (sent < insertList.size())
              {
                  this.submitInsertTaskToQueue(this.createInsertTaskForObjects(insertList.subList(sent, insertList.size())), processedInserts);
              }
              this.insertList = new MithraFastList(insertBatchSize);
          }
      }
docs: flushes any remaining objects. called automatically from waitUntilFinished(). Has no effect when in bulk insert mode.