Metaspace.Space.compareAndTakeAll()

Signature

Object compareAndTakeAll (String spaceName, Object compareTuples, Object ... varargs)

Domain

ACTION

Description

Batch compareAndTake operation.

Parameters

NameTypeDescription
spaceNameStringThe space name specified must be prefixed with the Metaspace name. Example ms.S1
compareTuplesObjectThe Collection of tuples whose fields have to be compared, and taken if successful
varargsObjectOptional TakeOptions specified

Returns

TypeDescription
ObjectList of Tuples where comparison/take failed. If the returned list is empty, full collection was successfully matched.

Cautions

none