/** * @deprecated please use {@link ThreadPoolMonitoringProbe}s to intercept * thread pool events and build statistics. */ @Deprecated public int getActiveCount() { return pool.getActiveCount(); }
if ( useKeepAliveAlgorithm ) { float threadRatio = (float) st.getActiveCount() / (float) st.getMaximumPoolSize();