mirror of
https://gitee.com/TarsCloud/TarsCpp.git
synced 2025-01-03 05:22:26 +08:00
Adpater未连接时请求超时统计
This commit is contained in:
parent
af41549b63
commit
bbe557ea74
@ -237,6 +237,11 @@ void ObjectProxy::doInvokeException(ReqMessage * msg)
|
||||
//标识请求异常
|
||||
msg->eStatus = ReqMessage::REQ_EXC;
|
||||
|
||||
if (!msg->adapter)
|
||||
{
|
||||
msg->adapter->stat(msg);
|
||||
}
|
||||
|
||||
if(msg->eType == ReqMessage::SYNC_CALL)
|
||||
{
|
||||
if(!msg->sched)
|
||||
|
@ -221,6 +221,11 @@ public:
|
||||
*/
|
||||
TC_TimeoutQueueNew<ReqMessage*> * getTimeoutQueue() { return _timeoutQueue.get(); }
|
||||
|
||||
/**
|
||||
* 模块间调用信息的统计
|
||||
*/
|
||||
void stat(ReqMessage * msg);
|
||||
|
||||
protected:
|
||||
|
||||
//创建完网络句柄后的回调
|
||||
@ -268,11 +273,6 @@ private:
|
||||
*/
|
||||
void initStatHead();
|
||||
|
||||
/**
|
||||
* 模块间调用信息的统计
|
||||
*/
|
||||
void stat(ReqMessage * msg);
|
||||
|
||||
/**
|
||||
* 模块间调用信息的合并
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user