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

NameTypeDescription
optionsObjectThe TakeOptions or PutOptions object
lockWaitlongNumber of milliseconds to wait for a lock.

Returns

TypeDescription
ObjectThe updated TakeOptions/PutOptions object.

Cautions

none