public final class NodeInfo extends SnmpCollectionResource
RESOURCE_TYPE_IF, RESOURCE_TYPE_LATENCY, RESOURCE_TYPE_NODE| Constructor and Description |
|---|
NodeInfo(NodeResourceType def,
CollectionAgent agent)
Constructor for NodeInfo.
|
| Modifier and Type | Method and Description |
|---|---|
protected SNMPCollectorEntry |
getEntry()
getEntry
|
String |
getInstance()
getInstance
|
String |
getInterfaceLabel()
getLabel
|
int |
getNodeId() |
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()
getType
|
String |
getUnmodifiedInstance()
getUnmodifiedInstance
|
void |
setEntry(SNMPCollectorEntry nodeEntry)
setEntry
|
boolean |
shouldPersist(ServiceParameters params)
Determines whether the attribute should be persisted.
|
String |
toString()
toString
|
getCollectionAgent, getGroups, getGroupType, getOwnerName, getResourceType, getStringAttributes, getTimeKeeper, rescanNeeded, setAttributeValue, visitpublic NodeInfo(NodeResourceType def, CollectionAgent agent)
Constructor for NodeInfo.
def - a NodeResourceType object.agent - a CollectionAgent object.public int getSnmpIfType()
getType
getSnmpIfType in class SnmpCollectionResourcepublic ResourcePath getPath()
RrdRepository.ResourcePath object.public String toString()
toString
public void setEntry(SNMPCollectorEntry nodeEntry)
setEntry
nodeEntry - a SNMPCollectorEntry object.protected SNMPCollectorEntry getEntry()
getEntry
SNMPCollectorEntry object.public boolean shouldPersist(ServiceParameters params)
shouldPersist in interface PersistableshouldPersist in class SnmpCollectionResourceparams - a ServiceParameters object.public String getResourceTypeName()
getResourceTypeName
String object.public String getUnmodifiedInstance()
getUnmodifiedInstance
String object.public ResourcePath getParent()
CollectionResourceString object.public int getNodeId()
Copyright © 2022. All rights reserved.