Yuta HIGUCHI

IntentManager: give each thread a uniq name in ThreadPool

Change-Id: I64c2e45aba3ae65a747271d02d1d9b83bcfc848c
...@@ -133,7 +133,7 @@ public class IntentManager ...@@ -133,7 +133,7 @@ public class IntentManager
133 trackerService.setDelegate(topoDelegate); 133 trackerService.setDelegate(topoDelegate);
134 batchService.setDelegate(batchDelegate); 134 batchService.setDelegate(batchDelegate);
135 eventDispatcher.addSink(IntentEvent.class, listenerRegistry); 135 eventDispatcher.addSink(IntentEvent.class, listenerRegistry);
136 - executor = newFixedThreadPool(NUM_THREADS, namedThreads("onos-intent")); 136 + executor = newFixedThreadPool(NUM_THREADS, namedThreads("onos-intent-%d"));
137 idGenerator = coreService.getIdGenerator("intent-ids"); 137 idGenerator = coreService.getIdGenerator("intent-ids");
138 Intent.bindIdGenerator(idGenerator); 138 Intent.bindIdGenerator(idGenerator);
139 log.info("Started"); 139 log.info("Started");
......