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
|
getConfiguration, getInitialSleepTime, getMaxBft, getReadLock, getRescanInterval, getThreads, getWriteLock, useBridgeDiscovery, useCdpDiscovery, useIsisDiscovery, useLldpDiscovery, useOspfDiscoverypublic EnhancedLinkdConfigFactory()
throws IOException
IOExceptionpublic 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 EnhancedLinkdConfigManagerxml - 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 © 2020. All rights reserved.