Modifier and Type | Method and Description |
---|---|
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createCustomPolicy()
Creates a CUSTOM
ConflictResolutionPolicy without any StoredProcedure . |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createCustomPolicy(String conflictResolutionSprocName)
Creates a CUSTOM
ConflictResolutionPolicy which uses the specified stored procedure
to perform conflict resolution |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createLastWriterWinsPolicy()
Creates a LAST_WRITER_WINS
ConflictResolutionPolicy with "/_ts" as the resolution path. |
static ConflictResolutionPolicy |
ConflictResolutionPolicy.createLastWriterWinsPolicy(String conflictResolutionPath)
Creates a LAST_WRITER_WINS
ConflictResolutionPolicy with path as the resolution path. |
ConflictResolutionPolicy |
CosmosContainerProperties.getConflictResolutionPolicy()
Gets the conflictResolutionPolicy that is used for resolving conflicting writes
on documents in different regions, in a collection in the Azure Cosmos DB service.
|
Modifier and Type | Method and Description |
---|---|
CosmosContainerProperties |
CosmosContainerProperties.setConflictResolutionPolicy(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.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.