Dupdate('INSERTINTOmodule_statistics(controllerName,methodName,count,statvalues(?,?,0,',className,methodNam;
/**
}
Dupdate('UPDATEmodule_statisticsSETcount=count+1WHEREcontrollerName=?ANDmethodName=?LIMIT1',className,methodNam;
*统计通达信dll通达信dll接口破解,接口破解,通达信dll接口破解,接口调用次数(另外的线程中执行)
*/
}
Recordrecord=DfindFirst('SELECTcontrollerNameFROMmodule_statisticsWHEREcontrollerName=?ANDmethodName=?',className,methodNam;
inv.invoke();
if(record==nul{
*/
*@parammethodNamecontroller中的方法名
try{
}
}
}catch(Exceptionex){
APICallCount(controllerPatsubstring(1,controllerPatlength()),inv.getMethodName());
}).start();
LogKit.error('统计出错:'+className+'/'+methodNam;
/**
*统计通达信dll通达信dll接口破解,接口破解,通达信dll接口破解,接口调用次数
}
但是这样是否会带来负载过高?有没有什么好的解决办法?按照key-value周期性的存储吗?
文章为作者独立观点,不代表股票交易接口观点