public TableSessionPoolBuilder maxSize(int maxSize) {
    this.maxSize = maxSize;
    return this;
  }
Sets the maximum size of the session pool.

@param maxSize the maximum number of sessions allowed in the pool.
@return the current {@link TableSessionPoolBuilder} instance.
@defaultValue 5
iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionPoolBuilder.java