Metaspace.Space.Options.setUnlock()

Signature

Object setUnlock (Object options, boolean unlock)

Domain

ACTION

Description

For TakeOptions - Specify whether or not to unlock the key of a tuple after it is removed from a space.
For PutOptions - Specify whether or not to unlock the key after storing a tuple into a space

Parameters

NameTypeDescription
optionsObjectThe TakeOptions or PutOptions object
unlockboolean true - Unlock the key. false - Do not unlock they key.

Returns

TypeDescription
ObjectThe updated TakeOptions/PutOptions object

Cautions

none