Class AsyncCustomFunction
Represents the base type for async custom function.
-
-
Constructor Summary
Constructors
protected
Initializes an instance of an async custom function.
protected
Initializes an instance of an async custom function.
protected
Initializes an instance of an async custom function.
-
Method Summary
Calculate the function asynchronously.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AsyncCustomFunction
Initializes an instance of an async custom function.
- Parameters:
name
- The name of the custom function.
result
- Specifies the return type for the custom function.
-
AsyncCustomFunction
Initializes an instance of an async custom function.
- Parameters:
name
- The name of the custom function.
result
- Specifies the return type for the custom function.
parameters
- Specifies the parmeters for the custom function.
-
AsyncCustomFunction
Initializes an instance of an async custom function.
- Parameters:
name
- The name of the custom function.
description
- The description of the custom function.
result
- Specifies the return type for the custom function.
parameters
- Specifies the parmeters for the custom function.
-
Method Details
-
evaluate
Calculate the function.
- Specified by:
evaluate
in class CustomFunction
- Parameters:
arguments
- the value collection of the arguments
context
- the context of the calculation.
- Returns:
- the result of the function.
-
evaluateAsync
Calculate the function asynchronously.
- Parameters:
arguments
- The value collection of the arguments
context
- The context of the calculation.
- Returns:
- The result of the function.