This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 9.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push:
new 6e0ae64 Provide an accessor for inProgressAsyncCount. Helps embedded
scenarios.
6e0ae64 is described below
commit 6e0ae64989d9f71176503f48382c736eee76f7f6
Author: Mark Thomas <[email protected]>
AuthorDate: Wed Mar 4 19:11:14 2020 +0000
Provide an accessor for inProgressAsyncCount. Helps embedded scenarios.
Implementing clean shutdown in embedded scenarios is aided by easier
access to this value.
---
java/org/apache/catalina/core/StandardContext.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/java/org/apache/catalina/core/StandardContext.java
b/java/org/apache/catalina/core/StandardContext.java
index e60eda8..31920c9 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -854,6 +854,11 @@ public class StandardContext extends ContainerBase
}
+ public long getInProgressAsyncCount() {
+ return inProgressAsyncCount.get();
+ }
+
+
@Override
public void setAllowMultipleLeadingForwardSlashInPath(
boolean allowMultipleLeadingForwardSlashInPath) {
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]