LockMode Enum
- java.
lang. Object - java.
lang. Enum<LockMode> - microsoft.
servicefabric. data. collections. LockMode
- microsoft.
- java.
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
Colabore connosco no GitHub
A origem deste conteúdo pode ser encontrada no GitHub, onde também pode criar e rever problemas e pedidos Pull. Para mais informações, consulte o nosso guia do contribuidor.
Azure SDK for Java