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 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

      public void onFailure(Throwable cause)
      Specified by:
      onFailure in interface com.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 interface com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable