Eliminate GlobalNetconfSshScheduledExecutor
[netconf.git] / netconf / netconf-config / src / main / java / org / opendaylight / netconf / config / Configuration.java
1 /*
2  * Copyright (c) 2023 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.netconf.config;
9
10 import org.eclipse.jdt.annotation.NonNullByDefault;
11 import org.osgi.service.metatype.annotations.AttributeDefinition;
12 import org.osgi.service.metatype.annotations.ObjectClassDefinition;
13
14 @NonNullByDefault
15 @ObjectClassDefinition
16 public @interface Configuration {
17     @AttributeDefinition(min = "1")
18     String name$_$prefix() default GlobalNetconfThreadFactory.DEFAULT_NAME_PREFIX;
19     @AttributeDefinition(min = "0")
20     int min$_$thread$_$count$_$flexible$_$thread$_$pool()
21         default GlobalNetconfProcessingExecutor.DEFAULT_MIN_THREAD_COUNT;
22     @AttributeDefinition(min = "1")
23     int max$_$thread$_$count$_$flexible$_$thread$_$pool()
24         default GlobalNetconfProcessingExecutor.DEFAULT_MAX_THREAD_COUNT;
25     @AttributeDefinition(min = "0")
26     long keep$_$alive$_$millis$_$flexible$_$thread$_$pool()
27         default GlobalNetconfProcessingExecutor.DEFAULT_KEEPALIVE_MILLIS;
28 }