X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=benchmark%2Fntfbenchmark%2Fsrc%2Fmain%2Fjava%2Fntfbenchmark%2Fimpl%2FNtfbenchWTCListener.java;h=8cce7448bcd0d7272cfcca06cafb5c052ac82c7f;hb=HEAD;hp=1e63c4b75d4d49a06df88e3d9a6d04d4a64d0a2b;hpb=f37b6184effa1d421c602da425903ab8d4b02ba7;p=controller.git diff --git a/benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchWTCListener.java b/benchmark/ntfbenchmark/src/main/java/ntfbenchmark/impl/NtfbenchWTCListener.java index 1e63c4b75d..8cce7448bc 100644 --- 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 */ - 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 org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ntfbench.payload.rev150709.Ntfbench; public class NtfbenchWTCListener extends NtfbenchTestListener { private final int expectedCount; @@ -22,14 +20,14 @@ public class NtfbenchWTCListener extends NtfbenchTestListener { } @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); } } + @Override public SettableFuture getAllDone() { return allDone; }