Metaspace.Space.Options.setForget()

Signature

Object setForget (Object options, boolean forget)

Domain

ACTION

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

NameTypeDescription
optionsObjectThe TakeOptions or PutOptions object
forgetbooleantrue - Do not return (forget) tuples. false - Return tuples.

Returns

TypeDescription
ObjectThe updated TakeOptions/PutOptions object.

Cautions

none