Interface ThresholdDiagnosticsChecker
-
- All Superinterfaces:
Checker
,ConfigBeanProxy
,ConfigExtension
,Container
,PropertyBag
- All Known Subinterfaces:
ConnectionPoolChecker
,CpuUsageChecker
,GarbageCollectorChecker
,HeapMemoryUsageChecker
,MachineMemoryUsageChecker
public interface ThresholdDiagnosticsChecker extends Checker, PropertyBag
Interface for healthcheck properties that have must have thresholds for Critical, Warning and Good levels.By default Critical is 80, Warning is 50 and Good is 0.
- Since:
- 4.1.1.161
- Author:
- mertcaliskan
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
ConfigBeanProxy.Duck
-
Nested classes/interfaces inherited from interface org.jvnet.hk2.config.types.PropertyBag
PropertyBag.Duck
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<Property>
getProperty()
Gets the value of the property property.-
Methods inherited from interface fish.payara.nucleus.healthcheck.configuration.Checker
getAddToMicroProfileHealth, getEnabled, getName, getTime, getUnit, setAddToMicroProfileHealth, setEnabled, setName, setTime, setUnit
-
Methods inherited from interface org.jvnet.hk2.config.ConfigBeanProxy
createChild, deepCopy, getParent, getParent
-
Methods inherited from interface org.jvnet.hk2.config.types.PropertyBag
addProperty, getProperty, getPropertyValue, getPropertyValue, lookupProperty, removeProperty, removeProperty
-
-
-
-
Method Detail
-
getProperty
@PropertyDesc(name="threshold-critical",defaultValue="80") @PropertyDesc(name="threshold-warning",defaultValue="50") @PropertyDesc(name="threshold-good",defaultValue="0") List<Property> getProperty()
Description copied from interface:PropertyBag
Gets the value of the property property. This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not aset
method for the property property. For example, to add a new item, do as follows:getProperty().add(newItem);
Objects of the following type(s) are allowed in the listProperty
- Specified by:
getProperty
in interfacePropertyBag
- Returns:
- the property list
-
-