Metaspace.Space.Options.isLock()
Signature
boolean isLock (Object options)
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
Name | Type | Description |
options | Object | The TakeOptions or PutOptions object |
Returns
Type | Description |
boolean | true - 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. |