Uses of Class
com.azure.data.cosmos.ConflictResolutionPolicy
-
Packages that use ConflictResolutionPolicy Package Description com.azure.data.cosmos This package provides Rx interfaces for interacting with Azure Cosmos DB. -
-
Uses of ConflictResolutionPolicy in com.azure.data.cosmos
Methods in com.azure.data.cosmos that return ConflictResolutionPolicy Modifier and Type Method Description ConflictResolutionPolicy
CosmosContainerProperties. conflictResolutionPolicy()
Gets the conflictResolutionPolicy that is used for resolving conflicting writes on documents in different regions, in a collection in the Azure Cosmos DB service.static ConflictResolutionPolicy
ConflictResolutionPolicy. createCustomPolicy()
Creates a CUSTOMConflictResolutionPolicy
without anyStoredProcedure
.static ConflictResolutionPolicy
ConflictResolutionPolicy. createCustomPolicy(String conflictResolutionSprocName)
Creates a CUSTOMConflictResolutionPolicy
which uses the specified stored procedure to perform conflict resolution This stored procedure may be created after theDocumentCollection
is created and can be changed as required.static 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.Methods in com.azure.data.cosmos with parameters of type ConflictResolutionPolicy Modifier and Type Method Description CosmosContainerProperties
CosmosContainerProperties. conflictResolutionPolicy(ConflictResolutionPolicy value)
Sets the conflictResolutionPolicy that is used for resolving conflicting writes on documents in different regions, in a collection in the Azure Cosmos DB service.
-