public interface ServiceCollector
| Modifier and Type | Field and Description |
|---|---|
static int |
COLLECTION_FAILED
Constant
COLLECTION_FAILED=2 |
static int |
COLLECTION_SUCCEEDED
Constant
COLLECTION_SUCCEEDED=1 |
static int |
COLLECTION_UNKNOWN
Status of the collector object.
|
static String[] |
statusType
Constant
statusType="{Unknown,COLLECTION_SUCCEEDED,COLLECTIO"{trunked} |
| 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
|
static final int COLLECTION_UNKNOWN
static final int COLLECTION_SUCCEEDED
COLLECTION_SUCCEEDED=1static final int COLLECTION_FAILED
COLLECTION_FAILED=2static final String[] statusType
statusType="{Unknown,COLLECTION_SUCCEEDED,COLLECTIO"{trunked}void initialize(Map<String,String> parameters) throws CollectionInitializationException
initialize
parameters - a Map object.CollectionInitializationExceptionvoid release()
release
void initialize(CollectionAgent agent, Map<String,Object> parameters) throws CollectionInitializationException
initialize
agent - a org.opennms.netmgt.collectd.CollectionAgent object.parameters - a Map object.CollectionInitializationExceptionvoid release(CollectionAgent agent)
release
agent - a org.opennms.netmgt.collectd.CollectionAgent object.CollectionSet collect(CollectionAgent agent, EventProxy eproxy, Map<String,Object> parameters) throws CollectionException
agent - a org.opennms.netmgt.collectd.CollectionAgent object.eproxy - a EventProxy object.parameters - a Map object.org.opennms.netmgt.config.collector.CollectionSet object.org.opennms.netmgt.collectd.CollectionException - if any.CollectionExceptionRrdRepository getRrdRepository(String collectionName)
getRrdRepository
collectionName - a String object.RrdRepository object.Copyright © 2018. All rights reserved.