zuston commented on a change in pull request #64: URL: https://github.com/apache/oozie/pull/64#discussion_r783246248
########## File path: core/src/main/java/org/apache/oozie/service/CallableQueueService.java ########## @@ -872,4 +878,36 @@ public void insertCallableIntoInterruptMap(XCallable<?> callable) { public Set<String> getInterruptTypes() { return interruptTypes; } + + public synchronized long getThreadActiveCount() { + return executor.getActiveCount(); + } + + public long getQueueThreadsNumber() { + return queueThreadsNumber; + } + + public <T> Future<T> submit(CallableWrapper<T> task) throws InterruptedException { + return executor.submit((Callable<T>) task); + } + + // refer to AbstractExecutorService.invokeAll Review comment: Got it. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@oozie.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org