if (grizzlyMonitoring != null) {
final ThreadPoolStatsProvider threadPoolStatsProvider =
grizzlyMonitoring.getThreadPoolStatsProvider(monitoringId);
if (threadPoolStatsProvider != null) {
threadPoolStatsProvider.setStatsObject(config);
threadPoolStatsProvider.reset();
}
final ConnectionQueueStatsProvider connectionQueueStatsProvider =
grizzlyMonitoring.getConnectionQueueStatsProvider(monitoringId);
if (connectionQueueStatsProvider != null) {