public class DiskIOSampleManager extends AbstractSampleManager implements Initializable
MonitoringConstants.Period
Modifier and Type | Field and Description |
---|---|
private DiskIOMonitor |
_ioMonitor |
private Map<String,Double> |
_previousMetrics |
_description, _featureName, _id, _label, _logger, _pluginName
FEEDING_PERIOD, RRD_EXT, RRD_STORAGE_DIRECTORY
Constructor and Description |
---|
DiskIOSampleManager() |
Modifier and Type | Method and Description |
---|---|
protected void |
_configureDatasources(org.rrd4j.core.RrdDef rrdDef)
Provides the data sources.
|
protected String |
_getGraphTitle()
Provide the graph title.
|
protected Map<String,Object> |
_internalCollect(org.rrd4j.core.Sample sample)
Collect data into the Round Robin Database.
|
void |
initialize() |
_configureValueRange, _registerDatasources, _setCommonParameters, collect, configure, configureRRDDef, enableLogging, getDescription, getId, getLabel, setPluginInfo
private DiskIOMonitor _ioMonitor
private Map<String,Double> _previousMetrics
public DiskIOSampleManager()
public void initialize() throws Exception
initialize
in interface Initializable
Exception
protected String _getGraphTitle()
AbstractSampleManager
_getGraphTitle
in class AbstractSampleManager
protected void _configureDatasources(org.rrd4j.core.RrdDef rrdDef)
AbstractSampleManager
_configureDatasources
in class AbstractSampleManager
rrdDef
- the Round Robin Database definition.protected Map<String,Object> _internalCollect(org.rrd4j.core.Sample sample) throws IOException
AbstractSampleManager
_internalCollect
in class AbstractSampleManager
sample
- the sample to collect.IOException
- thrown in case of I/O error.