Class StateProviderImpl
java.lang.Object
org.opendaylight.protocol.bgp.state.StateProviderImpl
- All Implemented Interfaces:
com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>
,AutoCloseable
@Singleton
@RequireServiceComponentRuntime
public final class StateProviderImpl
extends Object
implements com.google.common.util.concurrent.FutureCallback<org.opendaylight.yangtools.yang.common.Empty>, 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
-
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
-
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>
-