Package alpine.server.health
Enum Class HealthCheckType
- All Implemented Interfaces:
Serializable,Comparable<HealthCheckType>,Constable
Defines types of health checks supported by MicroProfile Health.
- Since:
- 2.3.0
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionProbes that either do not specify their type, or apply to all types.Liveness probes may be used by service orchestrators to evaluate whether a service instance needs to be restarted.Readiness probes may be used by service orchestrators to evaluate whether a service instance is ready to accept traffic.Startup probes may be used by service orchestrators to evaluate whether a service instance has started. -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthCheckTypeReturns the enum constant of this class with the specified name.static HealthCheckType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LIVENESS
Liveness probes may be used by service orchestrators to evaluate whether a service instance needs to be restarted. -
READINESS
Readiness probes may be used by service orchestrators to evaluate whether a service instance is ready to accept traffic. -
STARTUP
Startup probes may be used by service orchestrators to evaluate whether a service instance has started. -
ALL
Probes that either do not specify their type, or apply to all types.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-