Class AppPeerBenchmark
java.lang.Object
org.opendaylight.protocol.bgp.benchmark.app.AppPeerBenchmark
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
,AutoCloseable
public final class AppPeerBenchmark
extends Object
implements com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>, AutoCloseable
-
Constructor Summary
ConstructorDescriptionAppPeerBenchmark
(org.opendaylight.mdsal.binding.api.DataBroker bindingDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, String appRibId) -
Method Summary
-
Constructor Details
-
AppPeerBenchmark
public AppPeerBenchmark(org.opendaylight.mdsal.binding.api.DataBroker bindingDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, String appRibId)
-
-
Method Details
-
start
public void start() -
onFailure
- Specified by:
onFailure
in interfacecom.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
-
onSuccess
public void onSuccess(org.opendaylight.yangtools.yang.common.Empty result) - Specified by:
onSuccess
in interfacecom.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-