org.opennms.netmgt.collectd
Class IfResourceType
java.lang.Object
org.opennms.netmgt.collectd.ResourceType
org.opennms.netmgt.collectd.IfResourceType
public class IfResourceType
- extends ResourceType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfResourceType
public IfResourceType(CollectionAgent agent,
OnmsSnmpCollection snmpCollection)
getCollectionInstances
public org.opennms.netmgt.snmp.SnmpInstId[] getCollectionInstances()
- Description copied from class:
ResourceType
- 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. It is useful for collecting only the
required data when a small amount of data from a large table is being collected.
- Overrides:
getCollectionInstances in class ResourceType
findResource
public SnmpCollectionResource findResource(org.opennms.netmgt.snmp.SnmpInstId inst)
- Specified by:
findResource in class ResourceType
findAliasedResource
public SnmpCollectionResource findAliasedResource(org.opennms.netmgt.snmp.SnmpInstId inst,
String ifAlias)
- Specified by:
findAliasedResource in class ResourceType
getResources
public Collection<IfInfo> getResources()
- Specified by:
getResources in class ResourceType
loadAttributeTypes
protected Collection<SnmpAttributeType> loadAttributeTypes()
- Specified by:
loadAttributeTypes in class ResourceType
Copyright © 2009. All Rights Reserved.