Cloudscape Properties,
Page 29 of 44


[top]
[prev]
[next]
Documentation Top
Global Index
Reference Manual
TOC Index
Grammar index
Developer's Guide
TOC Index
Tuning Cloudscape
TOC Index

cloudscape.locks.waitTimeout

Function

Specifies the number of seconds after which Cloudscape aborts a transaction when it is waiting for a lock. When Cloudscape aborts (and rolls back) the transaction, the transaction receives an SQLException of SQLState 40XL1.

The time specified by this property is approximate.

A zero value for this property means that Cloudscape aborts a transaction any time it cannot immediately obtain a lock that it requests.

A negative value for this property is equivalent to an infinite wait time; the transaction waits forever to obtain the lock.

If this property is set to a value greater than or equal to zero but less than the value of cloudscape.locks.deadlockTimeout, then Cloudscape never performs any deadlock checking.

NEW: The cloudscape.locks.waitTimeout property is new in Version 3.0.

Default

180 seconds.

Example

CALL PropertyInfo.setDatabaseProperty(
    'cloudscape.locks.waitTimeout', '15')
cloudscape.locks.waitTimeout=60

Scope

database-wide

system-wide

Dynamic or Static

Dynamic; the change takes effect immediately. For information about dynamic changes to properties, see “Dynamic or Static Changes to Properties”.

[top]
[prev]
[next]


Cloudscape Version 3.0
For technical support, go to: www.cloudscape.com and click Support.
Copyright © 1998 and 1999 Cloudscape, Inc. All rights reserved.