FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: clarify connection pool document by GaoleMeng · Pull Request #2877 · googleapis/java-bigquerystorage · GitHub

This repository was archived by the owner on Feb 24, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .java  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
    • JsonStreamWriter.java
    • StreamWriter.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -312,8 +312,21 @@ public Builder setReconnectAfter10M(boolean reconnectAfter10M) {
}

/**
* Enable multiplexing for this writer. In multiplexing mode tables will share the same
* connection if possible until the connection is overwhelmed.
* Enables a static shared bidi-streaming connection pool that would dynamically scale up
* connections based on backlog within each individual connection. A single table's traffic
* might be splitted into multiple connections if needed. Different tables' traffic can also be
* multiplexed within the same connection.
*
* <pre>
* Each connection pool would have a upper limit (default to 20) and lower limit (default to
* 2) for the number of active connections. This parameter can be tuned via a static method
* exposed on {@link ConnectionWorkerPool}.
*
* Example:
* ConnectionWorkerPool.setOptions(
* Settings.builder().setMinConnectionsPerRegion(4).setMaxConnectionsPerRegion(10).build());
*
* </pre>
*
* @param enableConnectionPool
* @return Builder
Expand Down
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -729,8 +729,21 @@ public Builder setEndpoint(String endpoint) {
}

/**
* Enable multiplexing for this writer. In multiplexing mode tables will share the same
* connection if possible until the connection is overwhelmed.
* Enables a static shared bidi-streaming connection pool that would dynamically scale up
* connections based on backlog within each individual connection. A single table's traffic
* might be splitted into multiple connections if needed. Different tables' traffic can also be
* multiplexed within the same connection.
*
* <pre>
* Each connection pool would have a upper limit (default to 20) and lower limit (default to
* 2) for the number of active connections. This parameter can be tuned via a static method
* exposed on {@link ConnectionWorkerPool}.
*
* Example:
* ConnectionWorkerPool.setOptions(
* Settings.builder().setMinConnectionsPerRegion(4).setMaxConnectionsPerRegion(10).build());
*
* </pre>
*
* @param enableConnectionPool
* @return Builder
Expand Down

Back | FazBrowse Home | New Git URL