public interface XmlCollectionHandler
Modifier and Type | Method and Description |
---|---|
CollectionSet |
collect(CollectionAgent agent,
XmlDataCollection collection,
Map<String,Object> parameters)
Collect.
|
Request |
parseRequest(NodeDao nodeDao,
Request unformattedRequest,
CollectionAgent agent,
Integer collectionStep,
Map<String,String> parameters) |
String |
parseUrl(NodeDao nodeDao,
String unformattedUrl,
CollectionAgent agent,
Integer collectionStep,
Map<String,String> parameters) |
void |
setRrdRepository(RrdRepository repository)
Sets the RRD repository.
|
void |
setServiceName(String serviceName)
Sets the service name associated with this Collection Handler.
|
CollectionSet collect(CollectionAgent agent, XmlDataCollection collection, Map<String,Object> parameters) throws CollectionException
agent
- the collection agentcollection
- the XML collection configurationparameters
- the collector parametersCollectionException
- the collection exceptionvoid setRrdRepository(RrdRepository repository)
repository
- the new RRD repositoryvoid setServiceName(String serviceName)
serviceName
- the new service nameString parseUrl(NodeDao nodeDao, String unformattedUrl, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters) throws IllegalArgumentException
IllegalArgumentException
Request parseRequest(NodeDao nodeDao, Request unformattedRequest, CollectionAgent agent, Integer collectionStep, Map<String,String> parameters) throws IllegalArgumentException
IllegalArgumentException
Copyright © 2021. All rights reserved.