Provide access to SessionLockScope
Example
// Get a reference to the security feature var locks = diffusion.locks;
Members
-
<readonly> SessionLockScope
-
Enum containing
scope
parameter of Session#lock- Since:
-
- 6.2
Properties:
Name Type Default Description UNLOCK_ON_SESSION_LOSS
0 The lock will be released when the acquiring session is closed.
UNLOCK_ON_CONNECTION_LOSS
1 The lock will be released when the acquiring session loses its current connection to the server.
Example
// Get the ALL_FIXED_PROPERTIES key var scope = diffusion.locks.SessionLockScope.UNLOCK_ON_SESSION_LOSS;