ConnectionPolicy.setRetryOptions(RetryOptions retryOptions) 方法

定义

Sets the retry policy options associated with the DocumentClient instance.

Properties in the RetryOptions class allow application to customize the built-in retry policies. This property is optional. When it's not set, the SDK uses the default values for configuring the retry policies. See RetryOptions class for more details.

public void setRetryOptions(RetryOptions retryOptions)

参数

retryOptions
RetryOptions

the RetryOptions instance.

适用于