/** * Increments the "_functionExecutionCallsId" and * "_functionExecutionsRunningId" stats and * "_functionExecutionHasResultRunningId" in case of function.hasResult = * true.. */ public void startFunctionExecution(boolean haveResult) { // Increment number of function execution calls this._stats.incInt(_functionExecutionCallsId, 1); // Increment number of functions running //this._stats.incInt(_functionExecutionsRunningId, 1); this._stats.incInt(_functionExecutionsRunningDNId, 1); if (haveResult) { // Increment number of function excution with haveResult = true call this._stats.incInt(_functionExecutionsHasResultRunningId, 1); } aggregateStats.startFunctionExecution(haveResult); }
/** * Increments the "_functionExecutionCallsId" and * "_functionExecutionsRunningId" stats and * "_functionExecutionHasResultRunningId" in case of function.hasResult = * true.. */ public void startFunctionExecution(boolean haveResult) { // Increment number of function execution calls this._stats.incInt(_functionExecutionCallsId, 1); // Increment number of functions running this._stats.incInt(_functionExecutionsRunningId, 1); if (haveResult) { // Increment number of function excution with haveResult = true call this._stats.incInt(_functionExecutionsHasResultRunningId, 1); } aggregateStats.startFunctionExecution(haveResult); }