/**
* Closeable version of {@link AsyncEventBus}.
*/
+/**
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class CloseableAsyncEventBus extends AsyncEventBus implements Closeable {
private final ThreadPool threadPool;
private final AsyncEventBusRuntimeRegistration rootRegistration;
/**
* Closeable {@link EventBus}.
*/
+/**
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class CloseableEventBus extends EventBus implements Closeable {
private final EventBusRuntimeRegistration rootRegistration;
* Implementation of {@link ThreadPool} using fixed number of threads wraps
* {@link ExecutorService}.
*/
+/**
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class FixedThreadPoolWrapper implements ThreadPool, Closeable {
private final ThreadPoolExecutor executor;
import org.opendaylight.controller.config.threadpool.util.CloseableAsyncEventBus;
/**
-*
+* To be removed in Nitrogen
*/
+@Deprecated
public final class AsyncEventBusModule extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModule {
package org.opendaylight.controller.config.yang.threadpool.impl;
/**
-*
-*/
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class AsyncEventBusModuleFactory extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModuleFactory {
import org.opendaylight.controller.config.threadpool.util.CloseableEventBus;
/**
-*
-*/
+ * To be removed in Nitrogen
+ */
+@Deprecated
public final class EventBusModule extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractEventBusModule {
package org.opendaylight.controller.config.yang.threadpool.impl;
/**
-*
-*/
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class EventBusModuleFactory extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractEventBusModuleFactory {
import org.opendaylight.controller.config.threadpool.util.FixedThreadPoolWrapper;
/**
-*
-*/
+ * To be removed in Nitrogen
+ */
+@Deprecated
public final class FixedThreadPoolModule extends org.opendaylight.controller.config.yang.threadpool.impl.fixed.AbstractFixedThreadPoolModule
{
package org.opendaylight.controller.config.yang.threadpool.impl.fixed;
/**
-*
-*/
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class FixedThreadPoolModuleFactory extends org.opendaylight.controller.config.yang.threadpool.impl.fixed.AbstractFixedThreadPoolModuleFactory
{
identity threadpool-fixed {
+ status deprecated;
base config:module-type;
config:provided-service th:threadpool;
config:java-name-prefix FixedThreadPool;
}
augment "/config:modules/config:module/config:configuration" {
+ status deprecated;
case threadpool-fixed {
when "/config:modules/config:module/config:type = 'threadpool-fixed'";
leaf max-thread-count {
base config:module-type;
config:provided-service th:eventbus;
config:java-name-prefix EventBus;
+ status deprecated;
}
augment "/config:modules/config:module/config:configuration" {
+ status deprecated;
case eventbus {
when "/config:modules/config:module/config:type = 'eventbus'";
// No real configuration
}
augment "/config:modules/config:module/config:state" {
+ status deprecated;
case eventbus {
when "/config:modules/config:module/config:type = 'eventbus'";
rpcx:rpc-context-instance "event-bus-rpc";
base config:module-type;
config:provided-service th:eventbus;
config:java-name-prefix AsyncEventBus;
+ status deprecated;
}
augment "/config:modules/config:module/config:configuration" {
+ status deprecated;
case async-eventbus {
when "/config:modules/config:module/config:type = 'async-eventbus'";
container threadpool {
}
augment "/config:modules/config:module/config:state" {
+ status deprecated;
case async-eventbus {
when "/config:modules/config:module/config:type = 'async-eventbus'";
rpcx:rpc-context-instance "event-bus-rpc";