Learning
Documentation
Community
Open Exchange
Global Masters
Home / Class Reference / %SYS namespace / SYS.DLMLockModes
Private  Storage   

SYS.DLMLockModes


ODBC Type: VARCHAR

Valid lock modes for acquiring and converting SYS.DLM locks.

This class is used internally by InterSystems IRIS. You should not make direct use of it within your applications. There is no guarantee made about either the behavior or future operation of this class.

Inventory


Parameters Properties Methods Queries Indices ForeignKeys Triggers
2


Summary


Methods
DisplayToLogical IsValid JSONToLogical LogicalToDisplay
LogicalToJSON LogicalToOdbc LogicalToXSD Normalize
XSDToLogical


Parameters


• parameter DISPLAYLIST = ",SHARED,EXCLUSIVE,NULL,PROTECTED WRITE,PROTECTED READ,CONCURRENT READ,CONCURRENT WRITE,NO LOCK";
The valid values for the lock mode are: NULL, SHARED, EXCLUSIVE, PROTECTED WRITE PROTECTED READ, CONCURRENT WRITE, CONCURRENT READ. These correspond to the lock modes implemented by the o/s supplied distributed lock manager. Consult the o/s documentation for lock mode compatibility information.

NO LOCK exists in the DISPLAY LIST and can be displayed as the current state of a lock but it cannot be set. This is used when a new lock object is created or when an existing lock is released.
• parameter VALUELIST = ",SH,EX,NL,PW,PR,CR,CW,NOLOCK";
Used for enumerated (multiple-choice) attributes. VALUELIST is either a null string ("") or a delimiter separated list (where the delimiter is the first character) of logical values. If a non-null value is present, then the attribute is restricted to values in the list, and the validation code simply checks to see if the value is in the list.