Metaspace.Space.invoke()
Signature
void invoke (String spaceName, Object keyTuple, String codeName, Object contextTuple, Object... varargs)
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
Name | Type | Description |
spaceName | String | The space name specified must be prefixed with the Metaspace name. Example ms.S1 |
keyTuple | Object | Key passed in a Tuple format |
codeName | String | Java className or BE RuleFunction name. Default is BE RuleFunction Name |
contextTuple | Object | Specify context Tuple if available, otherwise null is ok |
varargs | Object[] | Optional varargs of type InvokeOptions |
Returns
Type | Description |
Object | Null if the InvokeOptions has set the callback handler, otherwise the InvokeResult |