Interface AlertSampleManager
- All Superinterfaces:
SampleManager
- All Known Implementing Classes:
AbstractAlertSampleManager
,DiskSpaceSampleManager
,ThreadSampleManager
Interface to be implemented for monitoring samples of data able to send system alerts when reaching threshold.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Represents a threshold -
Method Summary
Modifier and TypeMethodDescriptionProvides the threshold for each datasource.Methods inherited from interface org.ametys.runtime.plugins.admin.jvmstatus.monitoring.SampleManager
collect, configureRRDDef, getDescription, getId, getLabel
-
Method Details
-
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.
-