Python#
Basic API#
The openYuanRong client initialization interface is used to configure the running mode and other parameters. |
|
Check initialize state. |
|
Terminate the system and release the relevant resources. |
|
YR API config. |
|
Use to store yr client info. |
Stateful & Stateless Function API#
Decorator for creating stateless remote functions on the openYuanrong system. |
|
|
alias of |
Use to decorate user function. |
|
Used to decorate classes that need to be remotely invoked on the openYuanRong system. |
|
|
alias of |
|
alias of |
Use to decorate a user class. |
|
Used to decorate class member methods. |
|
Use to decorate a user class method. |
|
Get an instance handle based on the name and namespace of the named instance. |
|
User instance creator. |
|
Cancel a specified stateless request. |
|
The function for exiting the program. |
|
Used to save the instance status. |
|
Used to load the saved instance state. |
|
Use to set the invoke options. |
|
List named instances. |
Data Object API#
Put an object to datasystem. |
|
Retrieve the value of an object stored in the backend based on the object's key. |
|
Wait for the value of the object in the data system to be ready based on the object's key. |
|
Initialize the ObjectRef. |
Stream API#
The configuration class created by the producer. |
|
The configuration class subscribed by consumers. |
|
Element class containing an element ID and data buffer. |
|
Create a producer. |
|
Create a consumer. |
|
Delete the data stream. |
|
Producer interface class. |
|
Consumer interface class. |
Function Interoperation API#
A proxy for constructing cpp functions and remotely calling cpp functions. |
|
Constructs a proxy for a C++ class to enable remote invocation. |
|
A proxy used to construct java functions and remotely call java functions. |
|
A proxy used to construct Java classes and invoke them remotely. |
Function Group API#
Create function group instance. |
|
Get the function group context of the current function instance. |
|
Function group options. |
|
A context class for managing function group information. |
|
Use to decorate a list of instance proxy. |
|
Use to invoke instance proxy. |
|
The DataInfo class is used to store the basic information of data. |
Resource Group API#
Asynchronously create a ResourceGroup. |
|
Asynchronously delete a ResourceGroup. |
|
The handle returned after creating a ResourceGroup. |
|
Resource group options. |
|
Bundle affinity type. |
|
The SSL/TLS configuration used by users when communicating with external clusters. |
|
AutoDeploymentConfig |
Group API#
A class for managing the lifecycle of grouped instances. |
|
Configuration options for grouped instance scheduling. |
KV Cache API#
Provides the Redis class's set storage interface, which supports saving binary data to the data system. |
|
Provide a storage interface that supports custom parameter configuration, enabling binary data to be written to the data system in a more flexible manner. |
|
Provide a Redis-like set storage interface that supports persisting a collection of binary data into the data system. |
|
Provides a Redis-like interface to retrieve data, supporting the retrieval of multiple data items simultaneously. |
|
Provides a Redis-like interface to delete data, supporting the deletion of multiple data items simultaneously. |
|
Provide a set storage interface similar to Redis, supporting the saving of binary data to the data system. |
|
Provides a Redis-like interface to retrieve data, supporting the retrieval of multiple data items simultaneously. |
|
Provides the kv_get_with_param interface, which supports offset reading of data. |
|
Kv option. |
|
Object write mode. |
|
Cache type. |
|
Consistency type. |
|
Get the parameter configuration class. |
|
Interface class for obtaining parameters. |
|
Set parameters. |
|
Represents the parameter configuration class for the mset operation. |
|
Create param. |
Observability API#
Used for reporting metrics data. |
|
Used to set and manage alarm information. |
|
Alarm info. |
|
Object alarm severity. |
|
Initialize the double counter. |
|
A class representing a 64-bit unsigned integer counter for metrics. |
|
Get the resource information of nodes in the cluster. |
Affinity Scheduling#
Enum for affinity type. |
|
Enum for affinity kind. |
|
Enum for the types of label operators. |
|
Label operator for affinity. |
|
Represents an affinity. |
Exceptions#
Base class for all custom exceptions in the YR module. |
|
Stateless request cancel error. |
|
Represents an error that occurred during an invocation. |
|
Request failed error. |