LockMode Enum

  • java.lang.Object
    • java.lang.Enum<LockMode>
      • microsoft.servicefabric.data.collections.LockMode

public enum LockMode

Specifies how reliable collections will lock resources, which determines how the resources can be accessed by concurrent transactions.

Fields

DEFAULT

Use the default lock mode based on the operation and isolation level of the transaction.

UPDATE

Used on resources that are intended to be updated. Prevents a common form of deadlock that occurs when multiple transactions are reading, locking, and potentially updating resources later.

Methods

getValue()

public int getValue()

Returns

int

Applies to