- TIBCO BusinessEvents®
- ActiveSpaces(Deprecated)
- Metaspace
- Space
- Options

# Metaspace.Space.Options.setLockWait()

## Signature

`Object setLockWait (Object options, long lockWait)`

## Domain

ACTION

## Description

For TakeOptions - Specify the amount of time to wait to acquire the lock on an existing locked tuple.
For PutOptions - Specify the amount of time to wait to acquire the lock on the key of an existing tuple.

## Parameters

Name | Type | Description
--- | --- | ---
`options` | `Object` | The TakeOptions or PutOptions object
`lockWait` | `long` | Number of milliseconds to wait for a lock.

## Returns

Type | Description
--- | ---
`Object` | The updated TakeOptions/PutOptions object.

## Cautions

none