你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ConflictResolutionMode Enum

  • java.lang.Object
    • java.lang.Enum
      • com.azure.cosmos.models.ConflictResolutionMode

public enum ConflictResolutionMode
extends Enum<ConflictResolutionMode>

The enum Conflict resolution mode.

Fields

CUSTOM

CUSTOM conflict resolution mode

INVALID

INVALID or unknown mode.

LAST_WRITER_WINS

Last writer wins conflict resolution mode Setting the ConflictResolutionMode to "LAST_WRITER_WINS" indicates that conflict resolution should be done by inspecting a field in the conflicting items and picking the item which has the higher value in that path.

Methods inherited from java.lang.Enum

Methods inherited from java.lang.Object

Methods

toString()

public String toString()

Returns

Overrides
java.lang.Enum.toString()

valueOf(String name)

public static ConflictResolutionMode valueOf(String name)

Parameters

name
String

Returns

values()

public static ConflictResolutionMode[] values()

Returns

Applies to