Product Documentation

FairCom Replication JSON RPC API

Previous Topic

Next Topic

ctMemphisReplPlanGetFuncTimes

int ctMemphisReplPlanGetFuncTimes( pRCESJson request, ppRCESJson result )

Description:

Retrieve the Function Timing information for a given Replication Plan execution.

HTTP URL: <baseURL>/ctMemphisReplPlanGetFuncTimes/

HTTP Verb: POST

Constraints:

  • "id" must be an existing Replication Plan ID.

Parameters:

  • request [IN] - Get Replication Plan Function Timing request in JSON format. For example:

{

"id": 1, // required

}

  • result [OUT] - Result in JSON format. For example:

{

"replPlanFunctionTimingList": [

{

"direction": "direct",

"name": "ADDREC",

"total_percent": 65,

"total_time": 92147487,

"calls": 71237,

"average": 71237

},

{

"direction": "direct",

"name": "TRANBEG",

"total_percent": 20,

"total_time": 28112621,

"calls": 71277,

"average": 394

},

{

"direction": "direct",

"name": "TRANEND",

"total_percent": 3,

"total_time": 5067465,

"calls": 61559,

"average": 82

},

{

"direction": "direct",

"name": "ctReplGetNextChange",

"total_percent": 2,

"total_time": 4183921,

"calls": 3638,

"average": 1150

},

{

"direction": "reverse",

"name": "ADDREC",

"total_percent": 65,

"total_time": 92147487,

"calls": 71237,

"average": 71237

},

{

"direction": "reverse",

"name": "TRANBEG",

"total_percent": 20,

"total_time": 28112621,

"calls": 71277,

"average": 394

}

},

"success": true,

"error":

{

"errorCode": 0,

"message": "Success"

}

}

Return:

Error code

TOCIndex