public abstract class JdbcCollectionResource extends AbstractCollectionResource
m_agent
Constructor and Description |
---|
JdbcCollectionResource(CollectionAgent agent) |
Modifier and Type | Method and Description |
---|---|
abstract String |
getInstance()
Returns the name of the instance this CollectionResource represents.
|
String |
getParent()
Returns the name of the parent resource.
|
abstract 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()
getType
|
boolean |
rescanNeeded()
rescanNeeded
|
void |
setAttributeValue(CollectionAttributeType type,
String value) |
boolean |
shouldPersist(ServiceParameters params)
shouldPersist
|
addAttribute, getGroup, getLabel, getOwnerName, getResourceDir, visit
public JdbcCollectionResource(CollectionAgent agent)
public boolean shouldPersist(ServiceParameters params)
AbstractCollectionResource
shouldPersist
shouldPersist
in interface CollectionResource
shouldPersist
in class AbstractCollectionResource
params
- a org.opennms.netmgt.collectd.ServiceParameters
object.public boolean rescanNeeded()
AbstractCollectionResource
rescanNeeded
rescanNeeded
in interface CollectionResource
rescanNeeded
in class AbstractCollectionResource
public void setAttributeValue(CollectionAttributeType type, String value)
public int getType()
AbstractCollectionResource
getType
getType
in interface CollectionResource
getType
in class AbstractCollectionResource
public abstract String getResourceTypeName()
CollectionResource
String
object.public abstract String getInstance()
CollectionResource
String
object.public String getParent()
CollectionResource
String
object.public TimeKeeper getTimeKeeper()
CollectionResource
getTimeKeeper
in interface CollectionResource
getTimeKeeper
in class AbstractCollectionResource
TimeKeeper
object.Copyright © 2015. All Rights Reserved.