Class CollectdConfiguration
- java.lang.Object
-
- org.opennms.netmgt.config.collectd.CollectdConfiguration
-
- All Implemented Interfaces:
Serializable
public class CollectdConfiguration extends Object implements Serializable
Top-level element for the collectd-configuration.xml configuration file.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CollectdConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddCollector(String service, String className)voidaddCollector(Collector collector)voidaddPackage(Package p)booleanequals(Object obj)CollectdConfigurationgetCollectdConfigurationForPackages(List<String> collectionPackageNames)List<Collector>getCollectors()FiltergetFilter(String filterName)PackagegetPackage(String packageName)List<Package>getPackages()IntegergetThreads()The maximum number of threads used for data collection.inthashCode()booleanremoveCollector(Collector collector)booleanremovePackage(Package p)voidsetCollectors(List<Collector> collectors)voidsetPackages(List<Package> packages)voidsetThreads(Integer threads)StringtoString()
-
-
-
Method Detail
-
getThreads
public Integer getThreads()
The maximum number of threads used for data collection.
-
setThreads
public void setThreads(Integer threads)
-
addPackage
public void addPackage(Package p) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removePackage
public boolean removePackage(Package p)
-
addCollector
public void addCollector(Collector collector) throws IndexOutOfBoundsException
- Throws:
IndexOutOfBoundsException
-
removeCollector
public boolean removeCollector(Collector collector)
-
getCollectdConfigurationForPackages
public CollectdConfiguration getCollectdConfigurationForPackages(List<String> collectionPackageNames)
-
-