Package fish.payara.nucleus.healthcheck
Class HealthCheckStuckThreadExecutionOptions
- java.lang.Object
-
- fish.payara.nucleus.healthcheck.HealthCheckExecutionOptions
-
- fish.payara.nucleus.healthcheck.HealthCheckStuckThreadExecutionOptions
-
public class HealthCheckStuckThreadExecutionOptions extends HealthCheckExecutionOptions
- Since:
- 4.1.2.173
- Author:
- jonathan coustick
-
-
Constructor Summary
Constructors Constructor Description HealthCheckStuckThreadExecutionOptions(boolean enabled, long time, TimeUnit unit, boolean addToMicroProfileHealth, long timeStuck, TimeUnit unitStuck)HealthCheckStuckThreadExecutionOptions(boolean enabled, long time, TimeUnit unit, boolean addToMicroProfileHealth, long timeStuck, TimeUnit unitStuck, String blacklistPatterns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBlacklistPatterns()LonggetTimeStuck()TimeUnitgetUnitStuck()-
Methods inherited from class fish.payara.nucleus.healthcheck.HealthCheckExecutionOptions
getTime, getUnit, isAddToMicroProfileHealthCheck, isEnabled, setAddToMicroProfileHealth, setEnabled, setTime, setUnit
-
-
-
-
Method Detail
-
getTimeStuck
public Long getTimeStuck()
- Returns:
- Time that a thread has be blocked for to be considered stuck
-
getUnitStuck
public TimeUnit getUnitStuck()
- Returns:
- Unit of time that a thread has be blocked for to be considered stuck
-
getBlacklistPatterns
public String getBlacklistPatterns()
- Returns:
- Comma separated patterns to filter out threads by name
-
-