Uses of Class
com.azure.cosmos.GatewayConnectionConfig
Packages that use GatewayConnectionConfig
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of GatewayConnectionConfig in com.azure.cosmos
Methods in com.azure.cosmos that return GatewayConnectionConfigModifier and TypeMethodDescriptionstatic GatewayConnectionConfigGatewayConnectionConfig.getDefaultConfig()Gets the default Gateway connection configuration.GatewayConnectionConfig.setHttp2ConnectionConfig(Http2ConnectionConfig http2ConnectionConfig) Set the http2 connection config.GatewayConnectionConfig.setIdleConnectionTimeout(Duration idleConnectionTimeout) sets the value of the timeout for an idle connection.GatewayConnectionConfig.setMaxConnectionPoolSize(int maxConnectionPoolSize) Sets the value of the connection pool size, the default is 1000.GatewayConnectionConfig.setProxy(com.azure.core.http.ProxyOptions proxy) Sets the proxy options.Methods in com.azure.cosmos with parameters of type GatewayConnectionConfigModifier and TypeMethodDescriptionCosmosClientBuilder.directMode(DirectConnectionConfig directConnectionConfig, GatewayConnectionConfig gatewayConnectionConfig) Sets the DIRECT connection configuration to be used.CosmosClientBuilder.gatewayMode(GatewayConnectionConfig gatewayConnectionConfig) Sets the GATEWAY connection configuration to be used.