@Singleton public class TransportZoneListener extends org.opendaylight.serviceutils.tools.mdsal.listener.AbstractSyncDataTreeChangeListener<TransportZone> implements org.opendaylight.serviceutils.srm.RecoverableListener
Constructor and Description |
---|
TransportZoneListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker,
IMdsalApiManager mdsalManager,
ItmConfig itmConfig,
org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator,
TunnelMonitoringConfig tunnelMonitoringConfig,
DPNTEPsInfoCache dpnTEPsInfoCache,
TunnelStateCache tunnelStateCache,
DirectTunnelUtils directTunnelUtils,
DpnTepStateCache dpnTepStateCache,
OvsBridgeEntryCache ovsBridgeEntryCache,
OvsBridgeRefEntryCache ovsBridgeRefEntryCache,
IInterfaceManager interfaceManager,
org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry serviceRecoveryRegistry,
DataTreeEventCallbackRegistrar eventCallbacks) |
Modifier and Type | Method and Description |
---|---|
default void |
add(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<T> arg0,
T arg1)
Deprecated.
|
void |
add(TransportZone transportZone) |
void |
deregisterListener() |
protected org.opendaylight.controller.md.sal.binding.api.DataBroker |
getDataBroker() |
protected org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics |
getDataStoreMetrics() |
com.google.common.base.Optional<TepsInNotHostedTransportZone> |
getNotHostedTransportZone(String transportZoneName) |
default void |
onDataTreeChanged(Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> arg0,
org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1)
Deprecated.
|
void |
registerListener() |
void |
remove(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TransportZone> instanceIdentifier,
TransportZone transportZone) |
void |
update(org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TransportZone> instanceIdentifier,
TransportZone originalTransportZone,
TransportZone updatedTransportZone) |
@Inject public TransportZoneListener(org.opendaylight.controller.md.sal.binding.api.DataBroker dataBroker, IMdsalApiManager mdsalManager, ItmConfig itmConfig, org.opendaylight.infrautils.jobcoordinator.JobCoordinator jobCoordinator, TunnelMonitoringConfig tunnelMonitoringConfig, DPNTEPsInfoCache dpnTEPsInfoCache, TunnelStateCache tunnelStateCache, DirectTunnelUtils directTunnelUtils, DpnTepStateCache dpnTepStateCache, OvsBridgeEntryCache ovsBridgeEntryCache, OvsBridgeRefEntryCache ovsBridgeRefEntryCache, IInterfaceManager interfaceManager, org.opendaylight.serviceutils.srm.ServiceRecoveryRegistry serviceRecoveryRegistry, DataTreeEventCallbackRegistrar eventCallbacks)
public void registerListener()
registerListener
in interface org.opendaylight.serviceutils.srm.RecoverableListener
public void deregisterListener()
deregisterListener
in interface org.opendaylight.serviceutils.srm.RecoverableListener
public void remove(@Nonnull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TransportZone> instanceIdentifier, @Nonnull TransportZone transportZone)
public void update(@Nonnull org.opendaylight.yangtools.yang.binding.InstanceIdentifier<TransportZone> instanceIdentifier, @Nonnull TransportZone originalTransportZone, @Nonnull TransportZone updatedTransportZone)
public void add(@Nonnull TransportZone transportZone)
public com.google.common.base.Optional<TepsInNotHostedTransportZone> getNotHostedTransportZone(String transportZoneName)
protected org.opendaylight.controller.md.sal.binding.api.DataBroker getDataBroker()
protected org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics getDataStoreMetrics()
public void onDataTreeChanged(@Nonnull Collection<org.opendaylight.controller.md.sal.binding.api.DataTreeModification<T>> arg0, org.opendaylight.serviceutils.tools.mdsal.listener.DataStoreMetrics arg1)
Copyright © 2019 OpenDaylight. All rights reserved.