public abstract class AbstractThreshdDao extends Object implements ReadableThreshdDao
Modifier and Type | Field and Description |
---|---|
static String |
JSON_STORE_KEY |
Modifier and Type | Method and Description |
---|---|
boolean |
interfaceInPackage(String iface,
Package pkg)
This method is used to determine if the named interface is included in
the passed package definition.
|
void |
rebuildPackageIpListMap()
This method is used to rebuild the package against iplist mapping when
needed.
|
void |
reload()
Subclasses should call this reload after they have performed their reload logic.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
serviceInPackageAndEnabled
getReadOnlyConfig
public static final String JSON_STORE_KEY
public void reload()
reload
in interface ReadableDao<ThreshdConfiguration>
public final void rebuildPackageIpListMap()
ReadableThreshdDao
rebuildPackageIpListMap
in interface ReadableThreshdDao
public final boolean interfaceInPackage(String iface, Package pkg)
ReadableThreshdDao
interfaceInPackage
in interface ReadableThreshdDao
iface
- The interface to test against the package.pkg
- The package to check for the inclusion of the interface.Copyright © 2021. All rights reserved.