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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java