summaryrefslogtreecommitdiffstats
path: root/v3po/impl/src/main/java
diff options
context:
space:
mode:
authorMaros Marsalek <mmarsale@cisco.com>2016-04-12 16:40:35 +0200
committerMaros Marsalek <mmarsale@cisco.com>2016-04-13 06:19:56 +0000
commitcd4bd323985077cd84290e7e34418cc6e2f40f89 (patch)
treebe8d1b7a733f80e4eadb5d6333cb72b0eec59f51 /v3po/impl/src/main/java
parent152ec1037001b867890aaaffe8a9e38a85b501b2 (diff)
HONEYCOMB-9: Disable polling thread for former pipeline
The poll causes deadlocks on vppJapi in combination with Initializers or any other read/write operations Change-Id: I623642e42780b5174956f7859c0192c925900c19 Signed-off-by: Maros Marsalek <mmarsale@cisco.com>
Diffstat (limited to 'v3po/impl/src/main/java')
-rw-r--r--v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java13
1 files changed, 6 insertions, 7 deletions
diff --git a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java
index 8ed83d53a..5dcf586fa 100644
--- a/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java
+++ b/v3po/impl/src/main/java/io/fd/honeycomb/v3po/impl/V3poProvider.java
@@ -25,7 +25,6 @@ import java.util.HashMap;
import java.util.List;
import java.util.Map;
import java.util.Timer;
-import java.util.TimerTask;
import javax.annotation.Nonnull;
import javax.annotation.concurrent.NotThreadSafe;
import org.opendaylight.controller.md.sal.binding.api.DataBroker;
@@ -171,12 +170,12 @@ public class V3poProvider implements BindingAwareProvider, AutoCloseable, Broker
Timer timer = new Timer();
// fire task after 1 second and then repeat each 10 seconds
- timer.scheduleAtFixedRate(new TimerTask() {
- @Override
- public void run() {
- vppPollOperData.updateOperational();
- }
- }, 1000, 10000);
+// timer.scheduleAtFixedRate(new TimerTask() {
+// @Override
+// public void run() {
+// vppPollOperData.updateOperational();
+// }
+// }, 1000, 10000);
}
@Override