org.opennms.netmgt.collectd
Class CollectionSpecification
java.lang.Object
org.opennms.netmgt.collectd.CollectionSpecification
public class CollectionSpecification
- extends Object
CollectionSpecification
public CollectionSpecification(CollectdPackage wpkg,
String svcName,
ServiceCollector collector)
getPackageName
public String getPackageName()
getServiceName
public String getServiceName()
getInterval
public long getInterval()
toString
public String toString()
- Overrides:
toString in class Object
getReadOnlyPropertyMap
public Map<String,String> getReadOnlyPropertyMap()
- Return a read only instance of the parameters, which consists of the overall service parameters,
plus various other Collection specific parameters (e.g. storeByNodeID etc)
- Returns:
- A read only Map instance
initialize
public void initialize(CollectionAgent agent)
release
public void release(CollectionAgent agent)
collect
public CollectionSet collect(CollectionAgent agent)
throws CollectionException
- Throws:
CollectionException
scheduledOutage
public boolean scheduledOutage(CollectionAgent agent)
refresh
public void refresh(CollectorConfigDao collectorConfigDao)
getRrdRepository
public RrdRepository getRrdRepository(String collectionName)
Copyright © 2009. All Rights Reserved.