Metaspace.Space.Options.isLock()

Signature

boolean isLock (Object options)

Domain

ACTION

Description

For TakeOptions - Retrieve the current setting for whether or not to lock the key of a tuple after it is removed from a space.
For PutOptions - Retrieve whether or not to lock the key of a tuple after it is stored into the space.

Parameters

NameTypeDescription
optionsObjectThe TakeOptions or PutOptions object

Returns

TypeDescription
booleantrue - The keys of any tuples stored with this TakeOptions/PutOptions object will be locked after the tuples are removed/stored in the space. false - The keys of any tuples put with this TakeOptions/PutOptions object will not be locked after the tuples are removed/stored in the space.

Cautions

none