Description
This type of objects provides unified APIs for accessing persistent data. Only numeric data can be stored, and neither metadata nor data of historical versions are supported.
Methods
Method Name | Description |
---|---|
GetData | Gets data. If the key exists, ParaOrderedDataInfo is also returned. |
SetData | Sets data. If the operation is successful, ParaOrderedDataInfo is also returned. |
IncrementData | Increments the value corresponding to a key and returns the new value. |
UpdateData | Updates the data corresponding to a key through a callback function. The callback function gets the current value and returns the new value based on the defined logic. The callback function cannot be paused once executed. |
RemoveData | Deletes the data corresponding to a key. |
GetSortedData | Pulls data in order. |