public final class EnhancedLinkdConfigFactory extends EnhancedLinkdConfigManager
m_config
Constructor and Description |
---|
EnhancedLinkdConfigFactory() |
EnhancedLinkdConfigFactory(InputStream stream)
Constructor for LinkdConfigFactory.
|
Modifier and Type | Method and Description |
---|---|
void |
reload()
reload
|
protected void |
reloadXML(InputStream stream)
reloadXML
|
void |
save()
Saves the current in-memory configuration to disk
|
protected void |
saveXml(String xml)
saveXml
|
disableBridgeVlanDiscovery, getBridgeTopologyInterval, getConfiguration, getDiscoveryBridgeThreads, getInitialSleepTime, getMaxBft, getReadLock, getRescanInterval, getThreads, getTopologyInterval, getWriteLock, useBridgeDiscovery, useCdpDiscovery, useIsisDiscovery, useLldpDiscovery, useOspfDiscovery
public EnhancedLinkdConfigFactory() throws IOException
IOException
public EnhancedLinkdConfigFactory(InputStream stream) throws IOException
Constructor for LinkdConfigFactory.
currentVersion
- a long.stream
- a InputStream
object.IOException
- if any.protected void saveXml(String xml) throws IOException
saveXml
saveXml
in class EnhancedLinkdConfigManager
xml
- a String
object.IOException
- if any.public void reload() throws IOException
reload
IOException
- if any.protected void reloadXML(InputStream stream) throws IOException
reloadXML
stream
- a InputStream
object.IOException
- if any.public void save() throws IOException
IOException
- if any.Copyright © 2021. All rights reserved.