public static CompositeMonitor < ? > newThreadPoolMonitor ( String id , ThreadPoolExecutor pool ) { return newObjectMonitor ( id , new MonitoredThreadPool ( pool ) ) ; }
Creates a new monitor for a thread pool with standard metrics for the pool size queue size task counts etc .