public class CollectionSpecification extends Object
CollectionSpecification class.
| Constructor and Description |
|---|
CollectionSpecification(CollectdPackage wpkg,
String svcName,
ServiceCollector collector)
Constructor for CollectionSpecification.
|
| Modifier and Type | Method and Description |
|---|---|
CollectionSet |
collect(CollectionAgent agent)
collect
|
long |
getInterval()
getInterval
|
String |
getPackageName()
getPackageName
|
Map<String,Object> |
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)
getRrdRepository
|
String |
getServiceName()
getServiceName
|
void |
initialize(CollectionAgent agent)
initialize
|
void |
refresh(CollectorConfigDao collectorConfigDao)
refresh
|
void |
release(CollectionAgent agent)
release
|
boolean |
scheduledOutage(CollectionAgent agent)
scheduledOutage
|
String |
toString()
toString
|
public CollectionSpecification(CollectdPackage wpkg, String svcName, ServiceCollector collector)
Constructor for CollectionSpecification.
wpkg - a CollectdPackage object.svcName - a String object.collector - a ServiceCollector object.public long getInterval()
getInterval
public String toString()
toString
public Map<String,Object> getReadOnlyPropertyMap()
public void initialize(CollectionAgent agent) throws CollectionInitializationException
initialize
agent - a CollectionAgent object.CollectionInitializationExceptionpublic void release(CollectionAgent agent)
release
agent - a CollectionAgent object.public CollectionSet collect(CollectionAgent agent) throws CollectionException
collect
agent - a CollectionAgent object.CollectionSet object.CollectionException - if any.public boolean scheduledOutage(CollectionAgent agent)
scheduledOutage
agent - a CollectionAgent object.public void refresh(CollectorConfigDao collectorConfigDao)
refresh
collectorConfigDao - a CollectorConfigDao object.public RrdRepository getRrdRepository(String collectionName)
getRrdRepository
collectionName - a String object.RrdRepository object.Copyright © 2015. All Rights Reserved.