commit | 7a9fdddb8136f5c75c2130d47fc1b06d9131bedd | [log] [tgz] |
---|---|---|
author | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Wed Dec 03 15:30:25 2014 -0800 |
committer | Yuta HIGUCHI <y-higuchi@ak.jp.nec.com> | Wed Dec 03 17:02:40 2014 -0800 |
tree | b7cd7371e5a6d8509bc6cfd226c3224257958c2a | |
parent | c1ee6746aa1b63a48f1af6314c9709864af7fa1b [diff] |
IntentManager: give each thread a uniq name in ThreadPool Change-Id: I64c2e45aba3ae65a747271d02d1d9b83bcfc848c
diff --git a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java index b65f5d8..21361d5 100644 --- a/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java +++ b/core/net/src/main/java/org/onosproject/net/intent/impl/IntentManager.java
@@ -133,7 +133,7 @@ trackerService.setDelegate(topoDelegate); batchService.setDelegate(batchDelegate); eventDispatcher.addSink(IntentEvent.class, listenerRegistry); - executor = newFixedThreadPool(NUM_THREADS, namedThreads("onos-intent")); + executor = newFixedThreadPool(NUM_THREADS, namedThreads("onos-intent-%d")); idGenerator = coreService.getIdGenerator("intent-ids"); Intent.bindIdGenerator(idGenerator); log.info("Started");