Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration SessionLockScope

Enum containing scope parameter of Session.lock

Example:

// Get the ALL_FIXED_PROPERTIES key
var scope = diffusion.locks.SessionLockScope.UNLOCK_ON_SESSION_LOSS;
since

6.2

Index

Enumeration members

UNLOCK_ON_CONNECTION_LOSS

UNLOCK_ON_CONNECTION_LOSS: = 1

The lock will be released when the acquiring session loses its current connection to the server.

UNLOCK_ON_SESSION_LOSS

UNLOCK_ON_SESSION_LOSS: = 0

The lock will be released when the acquiring session is closed.