174b44fdf2be05cce9c20ba355b3e80437b9a3ec
[controller.git] / opendaylight / config / netty-threadgroup-config / src / main / java / org / opendaylight / controller / config / yang / netty / threadgroup / Configuration.java
1 /*
2  * Copyright (c) 2021 PANTHEON.tech, s.r.o. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.controller.config.yang.netty.threadgroup;
9
10 import org.osgi.service.metatype.annotations.AttributeDefinition;
11 import org.osgi.service.metatype.annotations.ObjectClassDefinition;
12
13 @ObjectClassDefinition(pid = "org.opendaylight.netty.threadgroup")
14 public @interface Configuration {
15     @AttributeDefinition(name = "global-boss-group-thread-count")
16     int bossThreadCount() default 0;
17
18     @AttributeDefinition(name = "global-worker-group-thread-count")
19     int workerThreadCount() default 0;
20 }