public long getExecutorTaskCount()

in src/main/java/org/apache/sling/commons/threads/impl/ThreadPoolMBeanImpl.java [94:101]


    public long getExecutorTaskCount() {
        final ThreadPoolExecutor tpe = this.entry.getExecutor();
        if ( tpe != null ) {
            return tpe.getTaskCount();
        } else {
            return -1;
        }
    }