Metaspace.Space.take()
Signature
Object take (String spaceName, Object tuple, Object... varargs)
Description
Returns and atomically removes from the Space the entry (if one exists) whose key field matches the key field of the Tuple provided. This method allows you to specify lock wait, lock/unlock/forget options.
Parameters
Name | Type | Description |
spaceName | String | The space name specified must be prefixed with the Metaspace name. Example ms.S1 |
tuple | Object | Tuple to take |
varargs | Object | Optional TakeOptions argument |
Returns
Type | Description |
Object | Tuple itself |