public class HttpCollector extends Object implements ServiceCollector
| Modifier and Type | Class and Description |
|---|---|
static class |
HttpCollector.HttpCollectorException |
COLLECTION_FAILED, COLLECTION_SUCCEEDED, COLLECTION_UNKNOWN, statusType| Constructor and Description |
|---|
HttpCollector() |
| Modifier and Type | Method and Description |
|---|---|
CollectionSet |
collect(CollectionAgent agent,
EventProxy eproxy,
Map<String,Object> parameters)
Invokes a collection on the object.
|
RrdRepository |
getRrdRepository(String collectionName)
getRrdRepository
|
void |
initialize(CollectionAgent agent,
Map<String,Object> parameters)
initialize
|
void |
initialize(Map<String,String> parameters)
initialize
|
void |
release()
release
|
void |
release(CollectionAgent agent)
release
|
public CollectionSet collect(CollectionAgent agent, EventProxy eproxy, Map<String,Object> parameters)
collect in interface ServiceCollectoragent - a org.opennms.netmgt.collectd.CollectionAgent object.eproxy - a EventProxy object.parameters - a Map object.org.opennms.netmgt.config.collector.CollectionSet object.public void initialize(Map<String,String> parameters) throws CollectionInitializationException
initialize
initialize in interface ServiceCollectorparameters - a Map object.CollectionInitializationExceptionpublic void initialize(CollectionAgent agent, Map<String,Object> parameters)
initialize
initialize in interface ServiceCollectoragent - a org.opennms.netmgt.collectd.CollectionAgent object.parameters - a Map object.public void release()
release
release in interface ServiceCollectorpublic void release(CollectionAgent agent)
release
release in interface ServiceCollectoragent - a org.opennms.netmgt.collectd.CollectionAgent object.public RrdRepository getRrdRepository(String collectionName)
getRrdRepository
getRrdRepository in interface ServiceCollectorcollectionName - a String object.RrdRepository object.Copyright © 2020. All rights reserved.