Uses of Class
com.azure.cosmos.GatewayConnectionConfig
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of GatewayConnectionConfig in com.azure.cosmos
Modifier and TypeMethodDescriptionstatic GatewayConnectionConfig
GatewayConnectionConfig.getDefaultConfig()
Gets the default Gateway connection configuration.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.Modifier 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.