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