tibasSpaceDef_GetLockWait()

Returns the amount of time a put, update, take, lock operations will wait for the lock to be cleared if the tuple is currently locked.

Declaration

tibas_status tibasSpaceDef_GetLockWait
(tibasSpaceDef spaceDef,
tibas_long*     lockWait)

Parameters

Parameter Description
spaceDef The TIBCO ActiveSpaces entity on which the function is invoked.
lockWait Number of milliseconds until lock is automatically cleared.

If no lock wait is set, returns TIBAS_WAIT_FOREVER (-1).

Remarks

Use the tibasSpaceDef_GetLockWait() function to return the amount of time a put, update, take, or lock operation will wait for a lock to be cleared if the tuple is currently locked.