org.opennms.netmgt.collectd
Class HttpCollector

java.lang.Object
  extended by org.opennms.netmgt.collectd.HttpCollector
All Implemented Interfaces:
ServiceCollector

public class HttpCollector
extends Object
implements ServiceCollector

Collect data via URI

Author:
David Hustace

Nested Class Summary
protected  class HttpCollector.HttpCollectionSet
           
 class HttpCollector.HttpCollectorException
           
 
Field Summary
 
Fields inherited from interface org.opennms.netmgt.collectd.ServiceCollector
COLLECTION_FAILED, COLLECTION_SUCCEEDED, COLLECTION_UNKNOWN, statusType
 
Constructor Summary
HttpCollector()
           
 
Method Summary
 CollectionSet collect(CollectionAgent agent, EventProxy eproxy, Map<String,String> parameters)
          Invokes a collection on the object.
 RrdRepository getRrdRepository(String collectionName)
           
 void initialize(CollectionAgent agent, Map parameters)
           
 void initialize(Map parameters)
           
 void release()
           
 void release(CollectionAgent agent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HttpCollector

public HttpCollector()
Method Detail

collect

public CollectionSet collect(CollectionAgent agent,
                             EventProxy eproxy,
                             Map<String,String> parameters)
Description copied from interface: ServiceCollector
Invokes a collection on the object.

Specified by:
collect in interface ServiceCollector

initialize

public void initialize(Map parameters)
Specified by:
initialize in interface ServiceCollector

initialize

public void initialize(CollectionAgent agent,
                       Map parameters)
Specified by:
initialize in interface ServiceCollector

release

public void release()
Specified by:
release in interface ServiceCollector

release

public void release(CollectionAgent agent)
Specified by:
release in interface ServiceCollector

getRrdRepository

public RrdRepository getRrdRepository(String collectionName)
Specified by:
getRrdRepository in interface ServiceCollector


Copyright © 2009. All Rights Reserved.