Uses of Class
com.azure.cosmos.models.ConflictResolutionPolicy
Package
Description
This package provides rest contracts for interacting with Azure Cosmos DB SQL APIs.
-
Uses of ConflictResolutionPolicy in com.azure.cosmos.models
Modifier and TypeMethodDescriptionstatic ConflictResolutionPolicy
ConflictResolutionPolicy.createCustomPolicy()
Creates a CUSTOMConflictResolutionPolicy
without anyStoredProcedure
.static ConflictResolutionPolicy
ConflictResolutionPolicy.createCustomPolicy
(String conflictResolutionStoredProcFullPath) Creates a CUSTOMConflictResolutionPolicy
which uses the specified stored procedure to perform conflict resolutionstatic ConflictResolutionPolicy
ConflictResolutionPolicy.createCustomPolicy
(String dbName, String containerName, String sprocName) Creates a CUSTOMConflictResolutionPolicy
which uses the specified stored procedure to perform conflict resolutionstatic ConflictResolutionPolicy
ConflictResolutionPolicy.createLastWriterWinsPolicy()
Creates a LAST_WRITER_WINSConflictResolutionPolicy
with "/_ts" as the resolution path.static ConflictResolutionPolicy
ConflictResolutionPolicy.createLastWriterWinsPolicy
(String conflictResolutionPath) Creates a LAST_WRITER_WINSConflictResolutionPolicy
with path as the resolution path.CosmosContainerProperties.getConflictResolutionPolicy()
Gets the conflictResolutionPolicy that is used for resolving conflicting writes on items in different regions, in a container in the Azure Cosmos DB service.Modifier and TypeMethodDescriptionCosmosContainerProperties.setConflictResolutionPolicy
(ConflictResolutionPolicy value) Sets the conflictResolutionPolicy that is used for resolving conflicting writes on items in different regions, in a container in the Azure Cosmos DB service.