Metaspace.Space.Options.setForget()
Signature
Object setForget (Object options, boolean forget)
Description
For TakeOptions - Specify whether or not to return the tuple taken from a space using this TakeOptions object.
For PutOptions - Specifies whether a tuple, which already exists in the space, should be returned as the return value of a put operation.
Parameters
Name | Type | Description |
options | Object | The TakeOptions or PutOptions object |
forget | boolean | true - Do not return (forget) tuples. false - Return tuples. |
Returns
Type | Description |
Object | The updated TakeOptions/PutOptions object. |