use of com.sun.enterprise.v3.services.impl.monitor.ThreadPoolMonitor in project Payara by payara.
the class GlassfishNetworkListener method configureThreadPoolConfig.
@Override
protected ThreadPoolConfig configureThreadPoolConfig(final NetworkListener networkListener, final ThreadPool threadPool) {
final ThreadPoolConfig config = super.configureThreadPoolConfig(networkListener, threadPool);
config.getInitialMonitoringConfig().addProbes(new ThreadPoolMonitor(grizzlyService.getMonitoring(), name, config));
return config;
}
Aggregations