Uses of Class
com.azure.cosmos.SessionRetryOptionsBuilder
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of SessionRetryOptionsBuilder in com.azure.cosmos
Modifier and TypeMethodDescriptionSessionRetryOptionsBuilder.maxRetriesPerRegion
(int maxRetriesPerRegion) Sets the maximum number of retries within each region for read and write operations.SessionRetryOptionsBuilder.minTimeoutPerRegion
(Duration minTimeoutPerRegion) Sets the minimum retry time for 404/1002 retries within each region for read and write operations.SessionRetryOptionsBuilder.regionSwitchHint
(CosmosRegionSwitchHint regionSwitchHint) Sets theCosmosRegionSwitchHint
which specifies for a request whether internal retry policies should prioritize a local region or a remote region.