Package org.opennms.netmgt.collectd
Class GenericIndexResourceType
- java.lang.Object
-
- org.opennms.netmgt.collectd.ResourceType
-
- org.opennms.netmgt.collectd.GenericIndexResourceType
-
public class GenericIndexResourceType extends ResourceType
GenericIndexResourceType class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description GenericIndexResourceType(SnmpCollectionAgent agent, OnmsSnmpCollection snmpCollection, ResourceType resourceType)
Constructor for GenericIndexResourceType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SnmpCollectionResource
findAliasedResource(SnmpInstId inst, java.lang.String ifAlias)
findAliasedResourceSnmpCollectionResource
findResource(SnmpInstId inst)
findResourcejava.lang.String
getName()
getNamePersistenceSelectorStrategy
getPersistenceSelectorStrategy()
java.util.Collection<GenericIndexResource>
getResources()
getResourcesStorageStrategy
getStorageStrategy()
getStorageStrategyjava.util.Collection<SnmpAttributeType>
loadAttributeTypes()
loadAttributeTypes-
Methods inherited from class org.opennms.netmgt.collectd.ResourceType
getAgent, getAttributeTypes, getCollection, getCollectionInstances, getCollectionName, hasDataToCollect
-
-
-
-
Constructor Detail
-
GenericIndexResourceType
public GenericIndexResourceType(SnmpCollectionAgent agent, OnmsSnmpCollection snmpCollection, ResourceType resourceType) throws java.lang.IllegalArgumentException
Constructor for GenericIndexResourceType.
- Parameters:
agent
- aCollectionAgent
object.snmpCollection
- aOnmsSnmpCollection
object.resourceType
- aResourceType
object.- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
findResource
public SnmpCollectionResource findResource(SnmpInstId inst)
findResource
- Specified by:
findResource
in classResourceType
- Parameters:
inst
- aSnmpInstId
object.- Returns:
- a
SnmpCollectionResource
object.
-
findAliasedResource
public SnmpCollectionResource findAliasedResource(SnmpInstId inst, java.lang.String ifAlias)
findAliasedResource
- Specified by:
findAliasedResource
in classResourceType
- Parameters:
inst
- aSnmpInstId
object.ifAlias
- aString
object.- Returns:
- a
SnmpCollectionResource
object.
-
loadAttributeTypes
public java.util.Collection<SnmpAttributeType> loadAttributeTypes()
loadAttributeTypes
- Specified by:
loadAttributeTypes
in classResourceType
- Returns:
- a
Collection
object.
-
getResources
public java.util.Collection<GenericIndexResource> getResources()
getResources
- Specified by:
getResources
in classResourceType
- Returns:
- a
Collection
object.
-
getName
public java.lang.String getName()
getName
- Returns:
- a
String
object.
-
getStorageStrategy
public StorageStrategy getStorageStrategy()
getStorageStrategy
- Returns:
- a
StorageStrategy
object.
-
getPersistenceSelectorStrategy
public PersistenceSelectorStrategy getPersistenceSelectorStrategy()
-
-