Package fish.payara.nucleus.healthcheck
Class HealthCheckWithThresholdExecutionOptions
- java.lang.Object
-
- fish.payara.nucleus.healthcheck.HealthCheckExecutionOptions
-
- fish.payara.nucleus.healthcheck.HealthCheckWithThresholdExecutionOptions
-
- Direct Known Subclasses:
HealthCheckConnectionPoolExecutionOptions
public class HealthCheckWithThresholdExecutionOptions extends HealthCheckExecutionOptions
- Author:
- mertcaliskan
-
-
Constructor Summary
Constructors Constructor Description HealthCheckWithThresholdExecutionOptions(boolean enabled, long time, TimeUnit unit, boolean addToMicroProfileHealth, String thresholdCritical, String thresholdWarning, String thresholdGood)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getThresholdCritical()
int
getThresholdGood()
int
getThresholdWarning()
void
setThresholdCritical(int thresholdCritical)
void
setThresholdGood(int thresholdGood)
void
setThresholdWarning(int thresholdWarning)
-
Methods inherited from class fish.payara.nucleus.healthcheck.HealthCheckExecutionOptions
getTime, getUnit, isAddToMicroProfileHealthCheck, isEnabled, setAddToMicroProfileHealth, setEnabled, setTime, setUnit
-
-
-
-
Method Detail
-
getThresholdCritical
public int getThresholdCritical()
-
getThresholdWarning
public int getThresholdWarning()
-
getThresholdGood
public int getThresholdGood()
-
setThresholdCritical
public void setThresholdCritical(int thresholdCritical)
-
setThresholdGood
public void setThresholdGood(int thresholdGood)
-
setThresholdWarning
public void setThresholdWarning(int thresholdWarning)
-
-