Uses of Class
com.azure.cosmos.CosmosRegionSwitchHint
Packages that use CosmosRegionSwitchHint
Package
Description
This package provides interfaces for interacting with Azure Cosmos DB.
-
Uses of CosmosRegionSwitchHint in com.azure.cosmos
Fields in com.azure.cosmos declared as CosmosRegionSwitchHintModifier and TypeFieldDescriptionstatic final CosmosRegionSwitchHintCosmosRegionSwitchHint.LOCAL_REGION_PREFERREDLOCAL_REGION_PREFERREDcorresponds to a hint which will result in internal retry policies biasing the local region of a request more than remote regions.static final CosmosRegionSwitchHintCosmosRegionSwitchHint.REMOTE_REGION_PREFERREDREMOTE_REGION_PREFERREDcorresponds to a hint which will result in internal retry policies biasing remote regions more than the local region.Methods in com.azure.cosmos with parameters of type CosmosRegionSwitchHintModifier and TypeMethodDescriptionSessionRetryOptionsBuilder.regionSwitchHint(CosmosRegionSwitchHint regionSwitchHint) Sets theCosmosRegionSwitchHintwhich specifies for a request whether internal retry policies should prioritize a local region or a remote region.