org.opennms.netmgt.collectd
Class CollectionSpecification

java.lang.Object
  extended by org.opennms.netmgt.collectd.CollectionSpecification

public class CollectionSpecification
extends Object


Constructor Summary
CollectionSpecification(CollectdPackage wpkg, String svcName, ServiceCollector collector)
           
 
Method Summary
 CollectionSet collect(CollectionAgent agent)
           
 long getInterval()
           
 String getPackageName()
           
 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.
 RrdRepository getRrdRepository(String collectionName)
           
 String getServiceName()
           
 void initialize(CollectionAgent agent)
           
 void refresh(CollectorConfigDao collectorConfigDao)
           
 void release(CollectionAgent agent)
           
 boolean scheduledOutage(CollectionAgent agent)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CollectionSpecification

public CollectionSpecification(CollectdPackage wpkg,
                               String svcName,
                               ServiceCollector collector)
Method Detail

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)

scheduledOutage

public boolean scheduledOutage(CollectionAgent agent)

refresh

public void refresh(CollectorConfigDao collectorConfigDao)

getRrdRepository

public RrdRepository getRrdRepository(String collectionName)


Copyright © 2009. All Rights Reserved.