Interface AlertSampleManager
-
- All Superinterfaces:
SampleManager
- All Known Implementing Classes:
AbstractAlertSampleManager
,DiskSpaceSampleManager
,ThreadSampleManager
public interface AlertSampleManager extends SampleManager
Interface to be implemented for monitoring samples of data able to send system alerts when reaching threshold.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
AlertSampleManager.Threshold
Represents a threshold
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,AlertSampleManager.Threshold>
getThresholdValues()
Provides the threshold for each datasource.-
Methods inherited from interface org.ametys.runtime.plugins.admin.jvmstatus.monitoring.SampleManager
collect, configureRRDDef, getDescription, getId, getLabel
-
-
-
-
Method Detail
-
getThresholdValues
Map<String,AlertSampleManager.Threshold> getThresholdValues()
Provides the threshold for each datasource.- Returns:
- the threshold for each datasource. The key of the map is the datasource name for which you want to create an alert.
-
-