Class StateProviderImpl
java.lang.Object
org.opendaylight.protocol.bgp.state.StateProviderImpl
- All Implemented Interfaces:
AutoCloseable
,EventListener
,org.opendaylight.mdsal.binding.api.TransactionChainListener
@Singleton
@RequireServiceComponentRuntime
public final class StateProviderImpl
extends Object
implements org.opendaylight.mdsal.binding.api.TransactionChainListener, AutoCloseable
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionStateProviderImpl
(@NonNull org.opendaylight.mdsal.binding.api.DataBroker dataBroker, int timeout, @NonNull BGPTableTypeRegistryConsumer bgpTableTypeRegistry, @NonNull BGPStateProvider stateProvider, @NonNull String networkInstanceName) StateProviderImpl
(@NonNull org.opendaylight.mdsal.binding.api.DataBroker dataBroker, @NonNull BGPTableTypeRegistryConsumer bgpTableTypeRegistry, @NonNull BGPStateProvider stateProvider, @NonNull StateProviderImpl.Configuration configuration) -
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)
-
Constructor Details
-
StateProviderImpl
public StateProviderImpl(@NonNull org.opendaylight.mdsal.binding.api.DataBroker dataBroker, @NonNull BGPTableTypeRegistryConsumer bgpTableTypeRegistry, @NonNull BGPStateProvider stateProvider, @NonNull StateProviderImpl.Configuration configuration) -
StateProviderImpl
@Inject public StateProviderImpl(@NonNull org.opendaylight.mdsal.binding.api.DataBroker dataBroker, int timeout, @NonNull BGPTableTypeRegistryConsumer bgpTableTypeRegistry, @NonNull BGPStateProvider stateProvider, @NonNull String networkInstanceName)
-
-
Method Details
-
close
@PreDestroy public void close()- Specified by:
close
in interfaceAutoCloseable
-
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
-