2 * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.controller.config.yang.netty.threadgroup;
10 import io.netty.channel.EventLoopGroup;
11 import org.osgi.service.component.annotations.Activate;
12 import org.osgi.service.component.annotations.Component;
13 import org.osgi.service.component.annotations.Deactivate;
14 import org.osgi.service.metatype.annotations.Designate;
16 @Component(immediate = true, service = EventLoopGroup.class, property = "type=global-boss-group")
17 @Designate(ocd = Configuration.class)
18 public final class GlobalBossGroup extends AbstractGlobalGroup {
20 public GlobalBossGroup(final Configuration configuration) {
21 super(configuration.bossThreadCount());