public class LatencyCollectionResource extends Object implements CollectionResource
LatencyCollectionResource class.
Constructor and Description |
---|
LatencyCollectionResource(String serviceName,
String ipAddress)
Constructor for LatencyCollectionResource.
|
Modifier and Type | Method and Description |
---|---|
String |
getInstance()
getInstance
|
String |
getIpAddress()
getIpAddress
|
String |
getLabel()
getLabel
|
String |
getOwnerName()
getOwnerName
|
String |
getParent()
Returns the name of the parent resource.
|
File |
getResourceDir(RrdRepository repository)
getResourceDir
|
String |
getResourceTypeName()
getResourceTypeName
|
String |
getServiceName()
getServiceName
|
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
|
boolean |
shouldPersist(ServiceParameters params)
shouldPersist
|
String |
toString() |
void |
visit(CollectionSetVisitor visitor)
visit
|
public String getInstance()
getInstance
getInstance
in interface CollectionResource
String
object.public String getLabel()
getLabel
getLabel
in interface CollectionResource
String
object.public String getResourceTypeName()
getResourceTypeName
getResourceTypeName
in interface CollectionResource
String
object.public int getType()
getType
getType
in interface CollectionResource
public boolean rescanNeeded()
rescanNeeded
rescanNeeded
in interface CollectionResource
public boolean shouldPersist(ServiceParameters params)
shouldPersist
shouldPersist
in interface CollectionResource
params
- a org.opennms.netmgt.collectd.ServiceParameters
object.public void visit(CollectionSetVisitor visitor)
visit
visit
in interface CollectionResource
visitor
- a org.opennms.netmgt.collectd.CollectionSetVisitor
object.public String getOwnerName()
getOwnerName
getOwnerName
in interface ResourceIdentifier
String
object.public File getResourceDir(RrdRepository repository)
getResourceDir
getResourceDir
in interface ResourceIdentifier
repository
- a RrdRepository
object.File
object.public String getParent()
CollectionResource
getParent
in interface CollectionResource
String
object.public TimeKeeper getTimeKeeper()
CollectionResource
getTimeKeeper
in interface CollectionResource
TimeKeeper
object.Copyright © 2015. All Rights Reserved.