Metaspace.Space.put()

Signature

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

Domain

ACTION

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

NameTypeDescription
spaceNameStringThe space name specified must be prefixed with the Metaspace name. Example ms.S1
tupleObjectThe Tuple to set.
varargsObjectOptional LockOptions specifies custom lock wait/forget choices

Returns

TypeDescription
ObjectA Tuple containing the values of the previously existing entry with the same key, if one exists.

Cautions

none