1 module config-threads {
3 namespace "urn:opendaylight:params:xml:ns:yang:controller:config:threads";
6 import config { prefix config; revision-date 2013-04-05; }
9 "This module contains the base YANG definitions for NS-OS
10 thread-related services.";
12 revision "2013-04-09" {
14 "Added eventbus service.";
17 revision "2013-04-05" {
19 "Updated with YANG extension for Java class specification.";
22 revision "2013-04-03" {
29 "Service representing an event bus. The service acts as message
30 router between event producers and event consumers";
32 base "config:service-type";
33 config:java-class "com.google.common.eventbus.EventBus";
36 identity threadfactory {
38 "Service representing a ThreadFactory instance. It is directly
39 useful in Java world, where various library pieces need to create
40 threads and you may want to inject a customized thread
43 base "config:service-type";
44 config:java-class "java.util.concurrent.ThreadFactory";
49 "A simple pool of threads able to execute work.";
51 base "config:service-type";
52 config:java-class "org.opendaylight.controller.config.threadpool.ThreadPool";
55 identity scheduled-threadpool {
57 "An extension of the simple pool of threads able to schedule
58 work to be executed at some point in time.";
61 config:java-class "org.opendaylight.controller.config.threadpool.ScheduledThreadPool";