lockTimeout

Type: Integer

The read-only lockTimeout property of the LockException class contains the timeout period of the lock that was encountered in a multiuser environment.

The timeout periods (whose values are provided by global constants in the LockTimeouts category) that can raise exceptions are listed in the following table.

Global Constant Integer
LockTimeout_Immediate -1
LockTimeout_Infinite Max_Integer (#7FFFFFFF, equates to 2147483647)
LockTimeout_Process_Defined -2 (use the process‑defined default)
LockTimeout_Server_Defined 0 (use the server-defined default)

You can set the process‑defined default lock request timeout programmatically, by calling the Process class setDefaultLockTimeout method. By default (that is, if you do not call this method), the default lock timeout for a process is the value of the ServerTimeout parameter in the [JadeServer] section of the JADE initialization file.