public interface ReadableThreshdDao extends ReadableDao<ThreshdConfiguration>
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.
|
static boolean |
serviceInPackageAndEnabled(String svcName,
Package pkg)
Returns true if the service is part of the package and the status of the
service is set to "on".
|
getReadOnlyConfig, reload
void rebuildPackageIpListMap()
boolean interfaceInPackage(String iface, Package pkg)
iface
- The interface to test against the package.pkg
- The package to check for the inclusion of the interface.static boolean serviceInPackageAndEnabled(String svcName, Package pkg)
svcName
- The service name to lookup.pkg
- The package to lookup up service.Copyright © 2021. All rights reserved.