Code Review
/
controller.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Separate out RaftEntryMeta
[controller.git]
/
benchmark
/
ntfbenchmark
/
src
/
main
/
java
/
ntfbenchmark
/
impl
/
NtfbenchWTCListener.java
diff --git
a/benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchWTCListener.java
b/benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchWTCListener.java
index 1e63c4b75d4d49a06df88e3d9a6d04d4a64d0a2b..8cce7448bcd0d7272cfcca06cafb5c052ac82c7f 100644
(file)
--- a/
benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchWTCListener.java
+++ b/
benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchWTCListener.java
@@
-5,12
+5,10
@@
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-
package ntfbenchmark.impl;
package ntfbenchmark.impl;
-import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbench;
-
import com.google.common.util.concurrent.SettableFuture;
import com.google.common.util.concurrent.SettableFuture;
+import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbench;
public class NtfbenchWTCListener extends NtfbenchTestListener {
private final int expectedCount;
public class NtfbenchWTCListener extends NtfbenchTestListener {
private final int expectedCount;
@@
-22,14
+20,14
@@
public class NtfbenchWTCListener extends NtfbenchTestListener {
}
@Override
}
@Override
- public void onNtfbench(final Ntfbench notification) {
- // TODO Auto-generated method stub
- super.onNtfbench(notification);
+ public void onNotification(final Ntfbench notification) {
+ super.onNotification(notification);
if (expectedCount == getReceived()) {
allDone.set(null);
}
}
if (expectedCount == getReceived()) {
allDone.set(null);
}
}
+ @Override
public SettableFuture<?> getAllDone() {
return allDone;
}
public SettableFuture<?> getAllDone() {
return allDone;
}