Class LLDPLinkAger
java.lang.Object
org.opendaylight.openflowplugin.applications.topology.lldp.LLDPLinkAger
- All Implemented Interfaces:
- AutoCloseable,- org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link>,- ConfigurationListener
@Singleton
public final class LLDPLinkAger
extends Object
implements ConfigurationListener, org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link>, AutoCloseable
- 
Constructor SummaryConstructorsConstructorDescriptionLLDPLinkAger(TopologyLldpDiscoveryConfig topologyLldpDiscoveryConfig, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService, ConfigurationService configurationService, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker) default ctor - start timer.
- 
Method SummaryModifier and TypeMethodDescriptionvoidclose()protected booleanisLinkPresent(LinkDiscovered linkDiscovered) booleanvoidonDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link>> changes) voidonPropertyChanged(@NonNull String propertyName, @NonNull String propertyValue) Method invoked on configuration property change.voidput(LinkDiscovered link) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opendaylight.mdsal.binding.api.DataTreeChangeListeneronInitialData
- 
Constructor Details- 
LLDPLinkAger@Inject public LLDPLinkAger(TopologyLldpDiscoveryConfig topologyLldpDiscoveryConfig, org.opendaylight.mdsal.binding.api.NotificationPublishService notificationService, ConfigurationService configurationService, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService, org.opendaylight.mdsal.binding.api.DataBroker dataBroker) default ctor - start timer.
 
- 
- 
Method Details- 
put
- 
close- Specified by:
- closein interface- AutoCloseable
- Throws:
- Exception
 
- 
onDataTreeChangedpublic void onDataTreeChanged(List<org.opendaylight.mdsal.binding.api.DataTreeModification<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link>> changes) - Specified by:
- onDataTreeChangedin interface- org.opendaylight.mdsal.binding.api.DataTreeChangeListener<org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link>
 
- 
isLinkToDateEmptypublic boolean isLinkToDateEmpty()
- 
onPropertyChangedDescription copied from interface:ConfigurationListenerMethod invoked on configuration property change.- Specified by:
- onPropertyChangedin interface- ConfigurationListener
- Parameters:
- propertyName- the property name
- propertyValue- the property value
 
- 
isLinkPresent
 
-