BioCreateCache
Function Definition
Creates a cache instance. You can select a proper cache policy and data affinity policy based on the application scenario.
Implementation
CResult BioCreateCache(CacheDescriptor desc)
Parameters
Parameter |
Data Type |
Input/Output |
Description |
|---|---|---|---|
desc |
CacheDescriptor |
Input |
Instance parameter description: |
Return Values
Return Value |
Description |
|---|---|
RET_CACHE_OK |
The operation is successful. |
RET_CACHE_EXISTS |
The cache instance already exists. |
RET_CACHE_EPERM |
The input parameter is incorrect. |
RET_CACHE_NO_SPACE |
The cache space is insufficient. A maximum of 1024 caches are allowed. |
Parent topic: API Reference