public TableSessionPoolBuilder maxRetryCount(int maxRetryCount) {
    this.maxRetryCount = maxRetryCount;
    return this;
  }
Sets the maximum number of retries for connection attempts.

@param maxRetryCount the maximum retry count.
@return the current {@link TableSessionPoolBuilder} instance.
@defaultValue 60
iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionPoolBuilder.java