connectionPolicy.getIdleConnectionTimeout())); RetryOptions retryOptions = new RetryOptions(); retryOptions.setMaxRetryAttemptsOnThrottledRequests(this.getIntProperty( "azurecosmos.maxRetryAttemptsOnThrottledRequests",
/** * Constructor. */ public ConnectionPolicy() { this.requestTimeout = ConnectionPolicy.DEFAULT_REQUEST_TIMEOUT; this.mediaRequestTimeout = ConnectionPolicy.DEFAULT_MEDIA_REQUEST_TIMEOUT; this.connectionMode = ConnectionMode.Gateway; this.mediaReadMode = MediaReadMode.Buffered; this.maxPoolSize = DEFAULT_MAX_POOL_SIZE; this.idleConnectionTimeout = DEFAULT_IDLE_CONNECTION_TIMEOUT; this.userAgentSuffix = ""; this.retryOptions = new RetryOptions(); }