X-Git-Url: http://dolda2000.com/gitweb/?p=jsvc.git;a=blobdiff_plain;f=src%2Fdolda%2Fjsvc%2FThreadContext.java;h=8e544d3cd64b8f3c9bc490adb9fbff4697b3b249;hp=b6d9677a049b65e8e12f33d4b1e683b8d57efec1;hb=3299417335913b0886ca80ac0de62d76fc741dbe;hpb=152e6a84d89f748c1dc4877594702732a6147c4f diff --git a/src/dolda/jsvc/ThreadContext.java b/src/dolda/jsvc/ThreadContext.java index b6d9677..8e544d3 100644 --- a/src/dolda/jsvc/ThreadContext.java +++ b/src/dolda/jsvc/ThreadContext.java @@ -143,6 +143,10 @@ public class ThreadContext extends ThreadGroup { return(ctx.worker(root, req, workers, "Worker thread " + reqs++)); } + public long requests() { + return(reqs); + } + private Responder bootstrap(final Class bootclass) { final Throwable[] err = new Throwable[1]; final Responder[] res = new Responder[1];