public SqlRetryCallProperties withLockInternally(boolean lockInternally) {
    this.lockInternally = lockInternally;
    return this;
  }
@param lockInternally Indicates if the internal (derby-related) lock mechanism has to be used during the retry-call.
                      The default value is false.
@return itself
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/retry/SqlRetryCallProperties.java