Those modules aren't used anymore, I couldn't find any reference of them,
expect some in netconf regarding the fixed-threadpool. But those
reference are coming from big xml test files that I suppose are pretty odl.
This deprecation notice is to warn potential downstream consumer that those
are now deprecated, and that those will be removed in next release, Nitrogen.
Change-Id: I8810b39a632c2d4c678c31bb46b8284aa33593f2
Signed-off-by: Alexis de Talhouët <adetalhouet@inocybe.com>
/**
* Closeable version of {@link AsyncEventBus}.
*/
/**
* 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;
public class CloseableAsyncEventBus extends AsyncEventBus implements Closeable {
private final ThreadPool threadPool;
private final AsyncEventBusRuntimeRegistration rootRegistration;
/**
* Closeable {@link EventBus}.
*/
/**
* Closeable {@link EventBus}.
*/
+/**
+ * To be removed in Nitrogen
+ */
+@Deprecated
public class CloseableEventBus extends EventBus implements Closeable {
private final EventBusRuntimeRegistration rootRegistration;
public class CloseableEventBus extends EventBus implements Closeable {
private final EventBusRuntimeRegistration rootRegistration;
* Implementation of {@link ThreadPool} using fixed number of threads wraps
* {@link ExecutorService}.
*/
* 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;
public class FixedThreadPoolWrapper implements ThreadPool, Closeable {
private final ThreadPoolExecutor executor;
import org.opendaylight.controller.config.threadpool.util.CloseableAsyncEventBus;
/**
import org.opendaylight.controller.config.threadpool.util.CloseableAsyncEventBus;
/**
+* To be removed in Nitrogen
public final class AsyncEventBusModule extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModule {
public final class AsyncEventBusModule extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModule {
package org.opendaylight.controller.config.yang.threadpool.impl;
/**
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 {
public class AsyncEventBusModuleFactory extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractAsyncEventBusModuleFactory {
import org.opendaylight.controller.config.threadpool.util.CloseableEventBus;
/**
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 {
public final class EventBusModule extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractEventBusModule {
package org.opendaylight.controller.config.yang.threadpool.impl;
/**
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 {
public class EventBusModuleFactory extends
org.opendaylight.controller.config.yang.threadpool.impl.AbstractEventBusModuleFactory {
import org.opendaylight.controller.config.threadpool.util.FixedThreadPoolWrapper;
/**
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
{
public final class FixedThreadPoolModule extends org.opendaylight.controller.config.yang.threadpool.impl.fixed.AbstractFixedThreadPoolModule
{
package org.opendaylight.controller.config.yang.threadpool.impl.fixed;
/**
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
{
public class FixedThreadPoolModuleFactory extends org.opendaylight.controller.config.yang.threadpool.impl.fixed.AbstractFixedThreadPoolModuleFactory
{
identity threadpool-fixed {
identity threadpool-fixed {
base config:module-type;
config:provided-service th:threadpool;
config:java-name-prefix FixedThreadPool;
}
augment "/config:modules/config:module/config:configuration" {
base config:module-type;
config:provided-service th:threadpool;
config:java-name-prefix FixedThreadPool;
}
augment "/config:modules/config:module/config:configuration" {
case threadpool-fixed {
when "/config:modules/config:module/config:type = 'threadpool-fixed'";
leaf max-thread-count {
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;
base config:module-type;
config:provided-service th:eventbus;
config:java-name-prefix EventBus;
}
augment "/config:modules/config:module/config:configuration" {
}
augment "/config:modules/config:module/config:configuration" {
case eventbus {
when "/config:modules/config:module/config:type = 'eventbus'";
// No real configuration
case eventbus {
when "/config:modules/config:module/config:type = 'eventbus'";
// No real configuration
}
augment "/config:modules/config:module/config:state" {
}
augment "/config:modules/config:module/config:state" {
case eventbus {
when "/config:modules/config:module/config:type = 'eventbus'";
rpcx:rpc-context-instance "event-bus-rpc";
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;
base config:module-type;
config:provided-service th:eventbus;
config:java-name-prefix AsyncEventBus;
}
augment "/config:modules/config:module/config:configuration" {
}
augment "/config:modules/config:module/config:configuration" {
case async-eventbus {
when "/config:modules/config:module/config:type = 'async-eventbus'";
container threadpool {
case async-eventbus {
when "/config:modules/config:module/config:type = 'async-eventbus'";
container threadpool {
}
augment "/config:modules/config:module/config:state" {
}
augment "/config:modules/config:module/config:state" {
case async-eventbus {
when "/config:modules/config:module/config:type = 'async-eventbus'";
rpcx:rpc-context-instance "event-bus-rpc";
case async-eventbus {
when "/config:modules/config:module/config:type = 'async-eventbus'";
rpcx:rpc-context-instance "event-bus-rpc";