X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=blobdiff_plain;f=opendaylight%2Fconfig%2Fnetty-threadgroup-config%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fyang%2Fnetty%2Fthreadgroup%2FGlobalWorkerGroup.java;fp=opendaylight%2Fconfig%2Fnetty-threadgroup-config%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fcontroller%2Fconfig%2Fyang%2Fnetty%2Fthreadgroup%2FGlobalWorkerGroup.java;h=0000000000000000000000000000000000000000;hp=4a9f46ed6b629ae72e34bb71cbd68266807bf463;hb=9917911b1a492b5f9fbeef1591569f7fc4a80f68;hpb=77387f3590ca4c42c3ddce52131d5c00d2a3992d diff --git a/opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/GlobalWorkerGroup.java b/opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/GlobalWorkerGroup.java deleted file mode 100644 index 4a9f46ed6b..0000000000 --- a/opendaylight/config/netty-threadgroup-config/src/main/java/org/opendaylight/controller/config/yang/netty/threadgroup/GlobalWorkerGroup.java +++ /dev/null @@ -1,28 +0,0 @@ -/* - * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others. All rights reserved. - * - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License v1.0 which accompanies this distribution, - * and is available at http://www.eclipse.org/legal/epl-v10.html - */ -package org.opendaylight.controller.config.yang.netty.threadgroup; - -import io.netty.channel.EventLoopGroup; -import org.osgi.service.component.annotations.Activate; -import org.osgi.service.component.annotations.Component; -import org.osgi.service.component.annotations.Deactivate; -import org.osgi.service.metatype.annotations.Designate; - -@Component(immediate = true, service = EventLoopGroup.class, property = "type=global-worker-group") -@Designate(ocd = Configuration.class) -public final class GlobalWorkerGroup extends AbstractGlobalGroup { - @Activate - public GlobalWorkerGroup(final Configuration configuration) { - super(configuration.workerThreadCount()); - } - - @Deactivate - void deactivate() { - close(); - } -}