public interface CollectionResource extends ResourceIdentifier
CollectionResource interface.
Modifier and Type | Method and Description |
---|---|
String |
getInstance()
Returns the name of the instance this CollectionResource represents.
|
String |
getLabel()
Returns a unique label for each resource depending on resource type.
|
String |
getParent()
Returns the name of the parent resource.
|
String |
getResourceTypeName()
Returns a string which indicates what type of resource.
|
TimeKeeper |
getTimeKeeper()
Returns a not-null time tracker instance when this resource requires to use a special timestamp when updating RRDs/JRBs.
|
int |
getType()
Returns something like an ifType; is (but not sure if it should be) -1 for non interface type collections, otherwise
the SNMP type of the interface.
|
boolean |
rescanNeeded()
rescanNeeded
|
boolean |
shouldPersist(ServiceParameters params)
shouldPersist
|
void |
visit(CollectionSetVisitor visitor)
visit
|
getOwnerName, getResourceDir
boolean shouldPersist(ServiceParameters params)
shouldPersist
params
- a org.opennms.netmgt.collectd.ServiceParameters
object.boolean rescanNeeded()
rescanNeeded
void visit(CollectionSetVisitor visitor)
visit
visitor
- a org.opennms.netmgt.collectd.CollectionSetVisitor
object.int getType()
String getResourceTypeName()
String
object.String getInstance()
String
object.String getLabel()
String
object.TimeKeeper getTimeKeeper()
TimeKeeper
object.Copyright © 2015. All Rights Reserved.