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
Nested Classes Modifier and Type Class Description static interface
StateProviderImpl.Configuration
-
Constructor Summary
Constructors Constructor Description StateProviderImpl(@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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
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 Detail
-
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 Detail
-
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
-
-