org.opennms.netmgt.collectd
Class GenericIndexResourceType

java.lang.Object
  extended by org.opennms.netmgt.collectd.ResourceType
      extended by org.opennms.netmgt.collectd.GenericIndexResourceType

public class GenericIndexResourceType
extends ResourceType

GenericIndexResourceType class.

Version:
$Id: $
Author:
ranger

Constructor Summary
GenericIndexResourceType(CollectionAgent agent, OnmsSnmpCollection snmpCollection, ResourceType resourceType)
          Constructor for GenericIndexResourceType.
 
Method Summary
 SnmpCollectionResource findAliasedResource(SnmpInstId inst, String ifAlias)
          findAliasedResource
 SnmpCollectionResource findResource(SnmpInstId inst)
          findResource
 String getName()
          getName
 PersistenceSelectorStrategy getPersistenceSelectorStrategy()
           
 Collection<GenericIndexResource> getResources()
          getResources
 StorageStrategy getStorageStrategy()
          getStorageStrategy
 Collection<SnmpAttributeType> loadAttributeTypes()
          loadAttributeTypes
 
Methods inherited from class org.opennms.netmgt.collectd.ResourceType
getAgent, getAttributeTypes, getCollection, getCollectionInstances, getCollectionName, hasDataToCollect, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericIndexResourceType

public GenericIndexResourceType(CollectionAgent agent,
                                OnmsSnmpCollection snmpCollection,
                                ResourceType resourceType)
                         throws IllegalArgumentException

Constructor for GenericIndexResourceType.

Parameters:
agent - a CollectionAgent object.
snmpCollection - a OnmsSnmpCollection object.
resourceType - a ResourceType object.
Throws:
IllegalArgumentException
Method Detail

findResource

public SnmpCollectionResource findResource(SnmpInstId inst)

findResource

Specified by:
findResource in class ResourceType
Parameters:
inst - a SnmpInstId object.
Returns:
a SnmpCollectionResource object.

findAliasedResource

public SnmpCollectionResource findAliasedResource(SnmpInstId inst,
                                                  String ifAlias)

findAliasedResource

Specified by:
findAliasedResource in class ResourceType
Parameters:
inst - a SnmpInstId object.
ifAlias - a String object.
Returns:
a SnmpCollectionResource object.

loadAttributeTypes

public Collection<SnmpAttributeType> loadAttributeTypes()

loadAttributeTypes

Specified by:
loadAttributeTypes in class ResourceType
Returns:
a Collection object.

getResources

public Collection<GenericIndexResource> getResources()

getResources

Specified by:
getResources in class ResourceType
Returns:
a Collection object.

getName

public String getName()

getName

Returns:
a String object.

getStorageStrategy

public StorageStrategy getStorageStrategy()

getStorageStrategy

Returns:
a StorageStrategy object.

getPersistenceSelectorStrategy

public PersistenceSelectorStrategy getPersistenceSelectorStrategy()


Copyright © 2011. All Rights Reserved.