public class GenericIndexResourceType extends ResourceType
GenericIndexResourceType class.
Constructor and Description |
---|
GenericIndexResourceType(SnmpCollectionAgent agent,
OnmsSnmpCollection snmpCollection,
ResourceType resourceType)
Constructor for GenericIndexResourceType.
|
Modifier and Type | Method and Description |
---|---|
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
|
getAgent, getAttributeTypes, getCollection, getCollectionInstances, getCollectionName, hasDataToCollect
public GenericIndexResourceType(SnmpCollectionAgent agent, OnmsSnmpCollection snmpCollection, ResourceType resourceType) throws IllegalArgumentException
Constructor for GenericIndexResourceType.
agent
- a CollectionAgent
object.snmpCollection
- a OnmsSnmpCollection
object.resourceType
- a ResourceType
object.IllegalArgumentException
public SnmpCollectionResource findResource(SnmpInstId inst)
findResource
findResource
in class ResourceType
inst
- a SnmpInstId
object.SnmpCollectionResource
object.public SnmpCollectionResource findAliasedResource(SnmpInstId inst, String ifAlias)
findAliasedResource
findAliasedResource
in class ResourceType
inst
- a SnmpInstId
object.ifAlias
- a String
object.SnmpCollectionResource
object.public Collection<SnmpAttributeType> loadAttributeTypes()
loadAttributeTypes
loadAttributeTypes
in class ResourceType
Collection
object.public Collection<GenericIndexResource> getResources()
getResources
getResources
in class ResourceType
Collection
object.public StorageStrategy getStorageStrategy()
getStorageStrategy
StorageStrategy
object.public PersistenceSelectorStrategy getPersistenceSelectorStrategy()
Copyright © 2018. All rights reserved.