org.opennms.netmgt.collectd
Class IfAliasResourceType
java.lang.Object
org.opennms.netmgt.collectd.ResourceType
org.opennms.netmgt.collectd.IfAliasResourceType
public class IfAliasResourceType
- extends ResourceType
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IfAliasResourceType
public IfAliasResourceType(CollectionAgent agent,
OnmsSnmpCollection snmpCollection,
ServiceParameters params,
IfResourceType ifResourceType)
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
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
loadAttributeTypes
public Collection<SnmpAttributeType> loadAttributeTypes()
- Specified by:
loadAttributeTypes in class ResourceType
getResources
public Collection<AliasedResource> getResources()
- Specified by:
getResources in class ResourceType
Copyright © 2009. All Rights Reserved.