Metaspace.Space.invokeLeeches()

Signature

Object invokeLeeches(String spaceName, String codeName, Object contextTuple, Object... varargs)

Domain

ACTION

Description

Invokes in parallel the appropriate invoke method of the specified class on all of the members of the Space which have a distribution role of leech.

Parameters

NameTypeDescription
spaceNameStringThe space name specified must be prefixed with the Metaspace name. Example ms.S1
codeNameStringJava className or BE RuleFunction name. Default is BE RuleFunction Name
contextTupleObjectSpecify context Tuple if available, otherwise null is ok
varargsObject[] Optional varargs of type InvokeOptions

Returns

TypeDescription
InvokeResultListResult of the invocation

Cautions

none