ASF Bugzilla – Attachment 21660 Details for
Bug 44595
Add possibility to request the QueueSize of an executor via JMX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch against 6.0.16
getqueuesize.diff (text/plain), 704 bytes, created by
Ruediger Pluem
on 2008-03-13 01:34:50 UTC
(
hide
)
Description:
Patch against 6.0.16
Filename:
MIME Type:
Creator:
Ruediger Pluem
Created:
2008-03-13 01:34:50 UTC
Size:
704 bytes
patch
obsolete
>diff -Nru apache-tomcat-6.0.16-src.orig/java/org/apache/catalina/core/StandardThreadExecutor.java apache-tomcat-6.0.16-src/java/org/apache/catalina/core/StandardThreadExecutor.java >--- apache-tomcat-6.0.16-src.orig/java/org/apache/catalina/core/StandardThreadExecutor.java 2008-01-28 23:41:08.000000000 +0100 >+++ apache-tomcat-6.0.16-src/java/org/apache/catalina/core/StandardThreadExecutor.java 2008-02-08 09:30:45.000000000 +0100 >@@ -91,6 +91,13 @@ > return threadPriority; > } > >+ public int getQueueSize() { >+ if (executor != null) { >+ return executor.getQueue().size(); >+ } >+ return 0; >+ } >+ > public boolean isDaemon() { > > return daemon;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 44595
: 21660