Bug 5924 - Reuse Threads using ThreadPool in SystemNotificationListenerImpl 06/39306/8
authorTomas Slusny <tomas.slusny@pantheon.sk>
Tue, 24 May 2016 08:14:52 +0000 (10:14 +0200)
committerTomas Slusny <tomas.slusny@pantheon.sk>
Fri, 17 Jun 2016 13:49:56 +0000 (13:49 +0000)
commitf18f86a82f6fc46426e6f198bdf7625a17063878
treec4d1ddd7fcda0c3973760ab59dc4132def57ddb1
parent9211370229143fe2a36a437475440e3d8abbe207
Bug 5924 - Reuse Threads using ThreadPool in SystemNotificationListenerImpl

- Removed creating new thread every time switch was connected
- Instead, used thread pool created in Bug 5925 and passed it
  from ConnectionManagerImpl to SystemNotificationListenerImpl

Change-Id: I02f50a9720b659b910250feab08553e142acaf44
Signed-off-by: Tomas Slusny <tomas.slusny@pantheon.sk>
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/connection/ConnectionManagerImpl.java
openflowplugin-impl/src/main/java/org/opendaylight/openflowplugin/impl/connection/listener/SystemNotificationsListenerImpl.java
openflowplugin-impl/src/test/java/org/opendaylight/openflowplugin/impl/connection/listener/SystemNotificationsListenerImplTest.java