Committed by
Gerrit Code Review
Fixed a few javadoc warnings.
Change-Id: I3a382a87abe99dffc0b7ee599e6552a5e1984e9b
Showing
3 changed files
with
8 additions
and
4 deletions
... | @@ -48,9 +48,11 @@ public class NodeConnectionManager { | ... | @@ -48,9 +48,11 @@ public class NodeConnectionManager { |
48 | /** | 48 | /** |
49 | * Creates a new NodeConnectionManager. | 49 | * Creates a new NodeConnectionManager. |
50 | * | 50 | * |
51 | - * @param localId local id | 51 | + * @param appId app id |
52 | - * @param nodeStore node store | 52 | + * @param localId local id |
53 | + * @param nodeStore node store | ||
53 | * @param mastershipService mastership service | 54 | * @param mastershipService mastership service |
55 | + * @param leadershipService leadership service | ||
54 | */ | 56 | */ |
55 | public NodeConnectionManager(ApplicationId appId, NodeId localId, | 57 | public NodeConnectionManager(ApplicationId appId, NodeId localId, |
56 | EventuallyConsistentMap<DeviceId, OvsdbNode> nodeStore, | 58 | EventuallyConsistentMap<DeviceId, OvsdbNode> nodeStore, |
... | @@ -68,11 +70,11 @@ public class NodeConnectionManager { | ... | @@ -68,11 +70,11 @@ public class NodeConnectionManager { |
68 | */ | 70 | */ |
69 | public void start() { | 71 | public void start() { |
70 | connectionExecutor = Executors.newSingleThreadScheduledExecutor( | 72 | connectionExecutor = Executors.newSingleThreadScheduledExecutor( |
71 | - groupedThreads("onos/cordvtn", "connection-executor")); | 73 | + groupedThreads("onos/cordvtn", "connection-executor")); |
72 | connectionExecutor.scheduleWithFixedDelay(() -> nodeStore.values() | 74 | connectionExecutor.scheduleWithFixedDelay(() -> nodeStore.values() |
73 | .stream() | 75 | .stream() |
74 | .filter(node -> localId.equals(getMaster(node))) | 76 | .filter(node -> localId.equals(getMaster(node))) |
75 | - .forEach(node -> connectNode(node)), 0, DELAY_SEC, TimeUnit.SECONDS); | 77 | + .forEach(this::connectNode), 0, DELAY_SEC, TimeUnit.SECONDS); |
76 | } | 78 | } |
77 | 79 | ||
78 | /** | 80 | /** | ... | ... |
... | @@ -84,6 +84,7 @@ public class HostMonitor implements TimerTask { | ... | @@ -84,6 +84,7 @@ public class HostMonitor implements TimerTask { |
84 | * @param hostManager host manager used to look up host information and | 84 | * @param hostManager host manager used to look up host information and |
85 | * probe existing hosts | 85 | * probe existing hosts |
86 | * @param interfaceService interface service for interface information | 86 | * @param interfaceService interface service for interface information |
87 | + * @param edgePortService edge port service | ||
87 | */ | 88 | */ |
88 | public HostMonitor(PacketService packetService, HostManager hostManager, | 89 | public HostMonitor(PacketService packetService, HostManager hostManager, |
89 | InterfaceService interfaceService, | 90 | InterfaceService interfaceService, | ... | ... |
-
Please register or login to post a comment