This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/7.0.x by this push:
new 134f962 Provide an accessor for inProgressAsyncCount. Helps embedded
scenarios.
134f962 is described below
commit 134f962be6f377c7b5cbdbb9d96ddd960ab69738
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 b40f36e..0b18027 100644
--- a/java/org/apache/catalina/core/StandardContext.java
+++ b/java/org/apache/catalina/core/StandardContext.java
@@ -976,6 +976,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]