Enum Class HealthCheckUpdateResult
java.lang.Object
java.lang.Enum<HealthCheckUpdateResult>
com.linecorp.armeria.server.healthcheck.HealthCheckUpdateResult
- All Implemented Interfaces:
Serializable
,Comparable<HealthCheckUpdateResult>
,java.lang.constant.Constable
The result of a request handled by
HealthCheckUpdateHandler
.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionTellsHealthCheckService
to leave theServer
healthiness unchanged.TellsHealthCheckService
to mark theServer
as 'healthy'.TellsHealthCheckService
to mark theServer
as 'unhealthy'. -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthCheckUpdateResult
Returns the enum constant of this class with the specified name.static HealthCheckUpdateResult[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
HEALTHY
TellsHealthCheckService
to mark theServer
as 'healthy'. -
UNHEALTHY
TellsHealthCheckService
to mark theServer
as 'unhealthy'. -
AS_IS
TellsHealthCheckService
to leave theServer
healthiness unchanged.
-
-
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
-