Java#
Basic API#
Stateful & Stateless Function API#
Create openYuanrong function instance or call method. |
|
Constructs a FunctionHandler for a given function. |
|
Create an operation class for creating a stateless Java function instance. |
|
Set the options for the current invocation, including resources, etc. |
|
Create an InstanceCreator for constructing an instance of a class. |
|
Create an operation class for creating a Java stateful function instance. |
|
Handle to an instance of a stateful function. |
|
Constructs a InstanceFunctionHandler for a given stateful function instance member method. |
|
Handle to a stateful function instance member method. |
|
Export handler information for stateful function instance. |
|
Import handler information for stateful function instance. |
|
Terminate a stateful function instance. |
|
Saves the instance state. |
|
Loads the saved instance state. |
|
Users can use this interface to perform data cleanup or data persistence operations. |
|
Users can use this interface to perform data recovery operations. |
|
Use to set the invoke options. |
Data Object API#
Stream API#
Passing ordered unbounded data between openYuanrong functions. |
Function Interoperation API#
Set the functionUrn for the function. |
|
Java function calls C++ function. |
|
Class for creating instances of stateless functions in C++. |
|
Helper class to new C++ instance class. |
|
Helper class to invoke member function. |
|
Create an operation class for creating a C++ stateful function instance. |
|
Handle to an instance of a C++ stateful function. |
|
Constructs a InstanceFunctionHandler for a given C++ stateful function instance member method. |
|
Handle to a C++ stateful function instance member method. |
|
Obtain instance handle information. |
|
Import handler information for C++ stateful function instance. |
|
Terminate a C++ function instance. |
|
Java function calls Java function. |
|
Create an operation class for creating a stateless Java function instance. |
|
Helper class to new java instance class. |
|
Helper class to invoke member function. |
|
Create an operation class for creating a Java stateful function instance. |
|
Handle to an instance of a Java stateful function. |
|
Constructs a InstanceFunctionHandler for a given Java stateful function instance member method. |
|
Handle to a Java stateful function instance member method. |
|
Obtain instance handle information. |
|
Import handler information for Java stateful function instance. |
|
Terminate a Java function instance. |
|
Operation class that calls a void function with no return value. |
|
Operation class that calls a Java class instance member function without a return value. |
KV Cache API#
Sets the value of a key. |
|
A transactional interface for setting multiple binary data entries in a batch. |
|
Writes the value of a key. |
|
Sets multiple key-value pairs. |
|
Retrieves a value associated with a specified key, similar to Redis’s GET command. |
|
Retrieves multiple values associated with specified keys with additional parameters, supporting offset-based reading. |
|
Retrieve the value of the specified type associated with the specified key. |
|
Deletes a key and its associated data, similar to Redis’s DEL command. |
Function Group API#
A class for managing the lifecycle of grouped instances. |
Affinity Scheduling#
Affinity Scheduling Configuration Parameters. |