Metaspace.Space.put()
Signature
Object put(String spaceName, Object tuple, Object... varargs)
Description
Stores a Tuple into the Space and returns any entry already stored in the Space with the same key. This version of put allows you to specify a lock wait value, lock or unlock value, and a forget value.
Parameters
Name | Type | Description |
spaceName | String | The space name specified must be prefixed with the Metaspace name. Example ms.S1 |
tuple | Object | The Tuple to set. |
varargs | Object | Optional LockOptions specifies custom lock wait/forget choices |
Returns
Type | Description |
Object | A Tuple containing the values of the previously existing entry with the same key, if one exists. |