BioListAll
Function Definition
Lists objects. Memory resources occupied by the listed results must be released by calling the BioFreeListResources interface.
Implementation
CResult BioListAll(uint64_t tenantId, const char *prefix, ObjStat **objs, uint64_t *objNum)
Parameters
Parameter |
Data Type |
Input/Output |
Description |
|---|---|---|---|
tenantId |
uint64_t |
Input |
Tenant ID. |
prefix |
const char* |
Input |
Prefix of the object to be matched. |
Objs |
ObjStat** |
Output |
Listed objects. |
objNum |
uint64_t* |
Output |
Number of listed objects. |
Return Values
Return Value |
Description |
|---|---|
RET_CACHE_OK |
The operation is successful. |
RET_CACHE_NOT_FOUND |
The cache instance is not found. |
RET_CACHE_EPERM |
The input parameter is incorrect. |
RET_CACHE_NOT_READY |
The BoostIO service is not ready. |
RET_CACHE_NEED_RETRY |
A retry is required. |
RET_CACHE_NO_SPACE |
The memory is insufficient. |
RET_CACHE_ERROR |
The operation failed. |