public class CollectionSpecification extends Object
CollectionSpecification class.
Constructor and Description |
---|
CollectionSpecification(Package wpkg,
String svcName,
ServiceCollector collector,
CollectionInstrumentation instrumentation,
LocationAwareCollectorClient locationAwareCollectorClient,
ReadablePollOutagesDao pollOutagesDao) |
Modifier and Type | Method and Description |
---|---|
CollectionSet |
collect(CollectionAgent agent)
collect
|
long |
getInterval()
getInterval
|
String |
getPackageName()
getPackageName
|
RrdRepository |
getRrdRepository(String collectionName)
getRrdRepository
|
String |
getServiceName()
getServiceName
|
ServiceParameters |
getServiceParameters()
Return a read only instance of the parameters, which consists of the overall service parameters,
plus various other Collection specific parameters (e.g.
|
void |
initialize(CollectionAgent agent)
initialize
|
void |
refresh(CollectdConfigFactory collectorConfigDao)
refresh
|
void |
release(CollectionAgent agent)
release
|
boolean |
scheduledOutage(CollectionAgent agent)
scheduledOutage
|
String |
toString()
toString
|
public CollectionSpecification(Package wpkg, String svcName, ServiceCollector collector, CollectionInstrumentation instrumentation, LocationAwareCollectorClient locationAwareCollectorClient, ReadablePollOutagesDao pollOutagesDao)
public long getInterval()
getInterval
public String toString()
toString
public ServiceParameters getServiceParameters()
public void initialize(CollectionAgent agent) throws CollectionInitializationException
initialize
agent
- a CollectionAgent
object.CollectionInitializationException
public 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(CollectdConfigFactory collectorConfigDao)
refresh
collectorConfigDao
- a CollectdConfigFactory
object.public RrdRepository getRrdRepository(String collectionName)
getRrdRepository
collectionName
- a String
object.RrdRepository
object.Copyright © 2020. All rights reserved.