code: public void commit(DBTransaction dbTran) {
          try {
              applyUpdates(dbTran);
          } catch (Exception e) {
              // All retries, if needed, failed.
              m_logger.error("Commit failed", e);
              throw e;
          } finally {
              dbTran.clear();
          }
      }
docs: Apply aall updates in the given {@link DBTransaction} to our DynamoDB instance.
  
  @param dbTran {@link DBTransaction} with updates.