public class LLDPLinkAger extends Object implements ConfigurationListener, AutoCloseable
Constructor and Description |
---|
LLDPLinkAger(TopologyLldpDiscoveryConfig topologyLldpDiscoveryConfig,
org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationService,
ConfigurationService configurationService,
org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService)
default ctor - start timer.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
boolean |
isLinkToDateEmpty() |
void |
onPropertyChanged(String propertyName,
String propertyValue)
Method invoked on configuration property change.
|
void |
put(LinkDiscovered link) |
public LLDPLinkAger(TopologyLldpDiscoveryConfig topologyLldpDiscoveryConfig, org.opendaylight.controller.sal.binding.api.NotificationProviderService notificationService, ConfigurationService configurationService, org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService entityOwnershipService)
public void put(LinkDiscovered link)
public void close() throws Exception
close
in interface AutoCloseable
Exception
public boolean isLinkToDateEmpty()
public void onPropertyChanged(@Nonnull String propertyName, @Nonnull String propertyValue)
ConfigurationListener
onPropertyChanged
in interface ConfigurationListener
propertyName
- the property namepropertyValue
- the property valueCopyright © 2018 OpenDaylight. All rights reserved.