Package fish.payara.nucleus.healthcheck
Class HealthCheckExecutionOptions
- java.lang.Object
-
- fish.payara.nucleus.healthcheck.HealthCheckExecutionOptions
-
- Direct Known Subclasses:
HealthCheckHoggingThreadsExecutionOptions
,HealthCheckMicroProfileMetricstExecutionOptions
,HealthCheckStuckThreadExecutionOptions
,HealthCheckTimeoutExecutionOptions
,HealthCheckWithThresholdExecutionOptions
public class HealthCheckExecutionOptions extends Object
- Author:
- mertcaliskan
-
-
Constructor Summary
Constructors Constructor Description HealthCheckExecutionOptions(boolean enabled, long time, TimeUnit unit, boolean addToMicroProfileHealth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getTime()
TimeUnit
getUnit()
boolean
isAddToMicroProfileHealthCheck()
boolean
isEnabled()
void
setAddToMicroProfileHealth(boolean addToMicroProfileHealth)
void
setEnabled(boolean enabled)
void
setTime(long time)
void
setUnit(TimeUnit unit)
-
-
-
Constructor Detail
-
HealthCheckExecutionOptions
public HealthCheckExecutionOptions(boolean enabled, long time, TimeUnit unit, boolean addToMicroProfileHealth)
-
-
Method Detail
-
isEnabled
public boolean isEnabled()
-
setTime
public void setTime(long time)
-
getTime
public long getTime()
-
getUnit
public TimeUnit getUnit()
-
setEnabled
public void setEnabled(boolean enabled)
-
setUnit
public void setUnit(TimeUnit unit)
-
isAddToMicroProfileHealthCheck
public boolean isAddToMicroProfileHealthCheck()
-
setAddToMicroProfileHealth
public void setAddToMicroProfileHealth(boolean addToMicroProfileHealth)
-
-