BioCalcLocation
Function Definition
Calculates the object location.
Implementation
CResult BioCalcLocation(uint64_t tenantId, uint64_t objectId, ObjLocation *location)
Parameters
Parameter |
Data Type |
Input/Output |
Description |
|---|---|---|---|
tenantId |
uint64_t |
Input |
Tenant ID. |
objectId |
uint64_t |
Input |
Object ID. |
location |
ObjLocation* |
Output |
Object location, which consists of two uint64_t values and is transparent to users. |
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_PT_FAULT |
The object location cannot be written due to a partition error. |
Parent topic: API Reference