public class GenericIndexResource extends SnmpCollectionResource
GenericIndexResource class.
RESOURCE_TYPE_IF, RESOURCE_TYPE_LATENCY, RESOURCE_TYPE_NODE| Constructor and Description | 
|---|
GenericIndexResource(ResourceType def,
                    String name,
                    SnmpInstId inst)
Constructor for GenericIndexResource. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getInstance()
getInstance 
 | 
String | 
getInterfaceLabel()
getLabel 
 | 
ResourcePath | 
getParent()
Returns the name of the parent resource. 
 | 
ResourcePath | 
getPath()
Retrieves path for the resource, relative to the root of the
 associated  
RrdRepository. | 
String | 
getResourceTypeName()
getResourceTypeName 
 | 
int | 
getSnmpIfType()
Returns ifType; is (but not sure if it should be) -1 for non interface type collections, otherwise
 the SNMP type of the interface. 
 | 
String | 
getUnmodifiedInstance()
Returns the unmodified instance string this  
CollectionResource represents. | 
boolean | 
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted. 
 | 
String | 
toString()
toString 
 | 
getCollectionAgent, getGroups, getGroupType, getOwnerName, getResourceType, getStringAttributes, getTimeKeeper, rescanNeeded, setAttributeValue, visitpublic GenericIndexResource(ResourceType def, String name, SnmpInstId inst)
Constructor for GenericIndexResource.
def - a ResourceType object.name - a String object.inst - a SnmpInstId object.public ResourcePath getPath()
ResourceIdentifierRrdRepository.ResourcePath object.public String toString()
toString
public int getSnmpIfType()
getSnmpIfType in class SnmpCollectionResourcepublic boolean shouldPersist(ServiceParameters params)
shouldPersist in interface PersistableshouldPersist in class SnmpCollectionResourceparams - a ServiceParameters object.public String getResourceTypeName()
getResourceTypeName
String object.public String getUnmodifiedInstance()
CollectionResourceCollectionResource represents.String object.public ResourcePath getParent()
CollectionResourceString object.Copyright © 2021. All rights reserved.