Skip to content

Commit

Permalink
add javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
annie-mac committed Dec 4, 2024
1 parent 6fc52b8 commit f273c35
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,19 @@
import com.azure.cosmos.implementation.Configs;
import com.azure.cosmos.util.Beta;

/***
* Represents the http2 connection config associated with Cosmos Client in the Azure Cosmos DB database service.
*/
@Beta(value = Beta.SinceVersion.V4_66_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING)
public class Http2ConnectionConfig {
private int maxConnectionPoolSize;
private int minConnectionPoolSize;
private int maxConcurrentStreams;
private boolean enabled;

/***
* The constructor of Http2ConnectionConfig.
*/
@Beta(value = Beta.SinceVersion.V4_66_0, warningText = Beta.PREVIEW_SUBJECT_TO_CHANGE_WARNING)
public Http2ConnectionConfig() {
this.maxConnectionPoolSize = Configs.getHttp2MaxConnectionPoolSize(); // overlapping with the maxConnectionPoolSize in gateway connection config
Expand Down

0 comments on commit f273c35

Please sign in to comment.