From 63b7cb78c3be2d7b10e7e088d6dba1af94b885c2 Mon Sep 17 00:00:00 2001 From: hns Date: Fri, 7 Jun 2002 19:51:11 +0000 Subject: [PATCH] added getCurrentRequestEvaluator hook for benchmarking and debugging. --- src/helma/framework/core/Application.java | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/helma/framework/core/Application.java b/src/helma/framework/core/Application.java index 9a6d6ff3..37a1a5c7 100644 --- a/src/helma/framework/core/Application.java +++ b/src/helma/framework/core/Application.java @@ -859,8 +859,19 @@ public final class Application extends UnicastRemoteObject implements IRemoteApp return debug; } + public RequestEvaluator getCurrentRequestEvaluator () { + Thread thread = Thread.currentThread (); + int l = allThreads.size(); + for (int i=0; i