Class AppPeerBenchmark
java.lang.Object
org.opendaylight.protocol.bgp.benchmark.app.AppPeerBenchmark
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.TransactionChainListener
public final class AppPeerBenchmark
extends Object
implements org.opendaylight.mdsal.binding.api.TransactionChainListener, AutoCloseable
-
Constructor Summary
ConstructorDescriptionAppPeerBenchmark
(org.opendaylight.mdsal.binding.api.DataBroker bindingDataBroker, org.opendaylight.mdsal.binding.api.RpcProviderService rpcProviderRegistry, String appRibId) -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
onTransactionChainFailed
(org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause) void
onTransactionChainSuccessful
(org.opendaylight.mdsal.binding.api.TransactionChain chain) void
start()
-
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() -
onTransactionChainFailed
public void onTransactionChainFailed(org.opendaylight.mdsal.binding.api.TransactionChain chain, org.opendaylight.mdsal.binding.api.Transaction transaction, Throwable cause) - Specified by:
onTransactionChainFailed
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
onTransactionChainSuccessful
public void onTransactionChainSuccessful(org.opendaylight.mdsal.binding.api.TransactionChain chain) - Specified by:
onTransactionChainSuccessful
in interfaceorg.opendaylight.mdsal.binding.api.TransactionChainListener
-
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-