tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jlmonte...@apache.org
Subject [32/51] [abbrv] tomee git commit: Update ManagedExecutorServiceImpl.java
Date Wed, 05 Dec 2018 16:48:07 GMT
Update ManagedExecutorServiceImpl.java

Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/0c36aa3c
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/0c36aa3c
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/0c36aa3c

Branch: refs/heads/master
Commit: 0c36aa3cbf5ca0635bea47f85a9f67dd57c4399f
Parents: 1590538
Author: Jonathan S. Fisher <exabrial@gmail.com>
Authored: Tue Sep 25 13:29:37 2018 -0500
Committer: GitHub <noreply@github.com>
Committed: Tue Sep 25 13:29:37 2018 -0500

----------------------------------------------------------------------
 .../apache/openejb/threads/impl/ManagedExecutorServiceImpl.java  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tomee/blob/0c36aa3c/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
----------------------------------------------------------------------
diff --git a/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
b/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
index 59831b4..bea9d1d 100644
--- a/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
+++ b/container/openejb-core/src/main/java/org/apache/openejb/threads/impl/ManagedExecutorServiceImpl.java
@@ -101,9 +101,9 @@ public class ManagedExecutorServiceImpl extends AbstractExecutorService
implemen
         }
     }
 
-    public Long getTaskCount() {
+    public Long getQueueSize() {
         if (delegate instanceof ThreadPoolExecutor) {
-            return ((ThreadPoolExecutor) delegate).getTaskCount();
+            return ((ThreadPoolExecutor) delegate).getQueue().size();
         } else {
             return null;
         }


Mime
View raw message