|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.netmgt.collectd.ResourceType
public abstract class ResourceType
Abstract ResourceType class.
| Constructor Summary | |
|---|---|
ResourceType(CollectionAgent agent,
OnmsSnmpCollection snmpCollection)
Constructor for ResourceType. |
|
| Method Summary | |
|---|---|
abstract SnmpCollectionResource |
findAliasedResource(SnmpInstId inst,
String ifAlias)
findAliasedResource |
abstract SnmpCollectionResource |
findResource(SnmpInstId inst)
findResource |
CollectionAgent |
getAgent()
getAgent |
Collection<SnmpAttributeType> |
getAttributeTypes()
getAttributeTypes |
protected OnmsSnmpCollection |
getCollection()
getCollection |
SnmpInstId[] |
getCollectionInstances()
This method returns an array of the instances that the attributes of this type should be collected for It is used to restricting data collection to just these instances. |
protected String |
getCollectionName()
getCollectionName |
abstract Collection<? extends SnmpCollectionResource> |
getResources()
getResources |
protected boolean |
hasDataToCollect()
hasDataToCollect |
protected abstract Collection<SnmpAttributeType> |
loadAttributeTypes()
loadAttributeTypes |
ThreadCategory |
log()
log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceType(CollectionAgent agent,
OnmsSnmpCollection snmpCollection)
Constructor for ResourceType.
agent - a CollectionAgent object.snmpCollection - a OnmsSnmpCollection object.| Method Detail |
|---|
public CollectionAgent getAgent()
getAgent
CollectionAgent object.protected String getCollectionName()
getCollectionName
String object.protected OnmsSnmpCollection getCollection()
getCollection
OnmsSnmpCollection object.public final Collection<SnmpAttributeType> getAttributeTypes()
getAttributeTypes
Collection object.protected abstract Collection<SnmpAttributeType> loadAttributeTypes()
loadAttributeTypes
Collection object.protected boolean hasDataToCollect()
hasDataToCollect
public SnmpInstId[] getCollectionInstances()
SnmpInstId objects.public abstract SnmpCollectionResource findResource(SnmpInstId inst)
findResource
inst - a SnmpInstId object.
SnmpCollectionResource object.
public abstract SnmpCollectionResource findAliasedResource(SnmpInstId inst,
String ifAlias)
findAliasedResource
inst - a SnmpInstId object.ifAlias - a String object.
SnmpCollectionResource object.public abstract Collection<? extends SnmpCollectionResource> getResources()
getResources
Collection object.public ThreadCategory log()
log
ThreadCategory object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||