Metaspace.Space.invoke()

Signature

void invoke (String spaceName, Object keyTuple, String codeName, Object contextTuple, Object... varargs)

Domain

ACTION

Description

Causes execution of the invoke method from the specified class on the Member of the Space where the entry associated with the key specified in tuple is stored. If an entry for the key does not exist in the Space, the invoke method is executed on the Member of the Space where the entry would have been stored.

Parameters

NameTypeDescription
spaceNameStringThe space name specified must be prefixed with the Metaspace name. Example ms.S1
keyTupleObjectKey passed in a Tuple format
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
ObjectNull if the InvokeOptions has set the callback handler, otherwise the InvokeResult

Cautions

none