Metaspace.Space.take()

Signature

Object take (String spaceName, Object tuple, Object... varargs)

Domain

ACTION

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

NameTypeDescription
spaceNameStringThe space name specified must be prefixed with the Metaspace name. Example ms.S1
tupleObjectTuple to take
varargsObjectOptional TakeOptions argument

Returns

TypeDescription
ObjectTuple itself

Cautions

none