我要评分
获取效率
正确性
完整性
易理解

BioListAll

Function Definition

Lists all objects. It requires the caller to invoke the BioFreeListResources interface to release the allocated memory resources for the listed results.

Implementation

CResult BioListAll(uint64_t tenantId, const char *prefix, ObjStat **objs, uint64_t *objNum)

Parameters

Table 1 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

Table 2 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.