public interface SampleManager
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
collect(org.rrd4j.core.Sample sample)
Collect data into the Round Robin Database.
|
void |
configureRRDDef(org.rrd4j.core.RrdDef rrdDef)
Provides the definition to use for this RRD file.
|
I18nizableText |
getDescription()
Provides the human readable description.
|
org.rrd4j.graph.RrdGraphDef |
getGraph(String rrdFilePath,
int width,
int height,
MonitoringConstants.Period period)
Provides the graph definition to use for rendering a period.
|
String |
getId()
Provides the id of this manager.
Must be unique in the application. |
I18nizableText |
getLabel()
Provides the human readable name to use.
|
String getId()
I18nizableText getLabel()
I18nizableText getDescription()
void configureRRDDef(org.rrd4j.core.RrdDef rrdDef)
rrdDef
- the Round Robin Database definition.Map<String,Object> collect(org.rrd4j.core.Sample sample) throws IOException
sample
- the sample to collect.IOException
- thrown in case of I/O error.org.rrd4j.graph.RrdGraphDef getGraph(String rrdFilePath, int width, int height, MonitoringConstants.Period period)
rrdFilePath
- the path to the RRD file.width
- the width of the image.height
- the height of the image.period
- the period.