Package org.infinispan.health
Enum HealthStatus
- All Implemented Interfaces:
Serializable
,Comparable<HealthStatus>
General Health status.
- Since:
- 9.0
- Author:
- Sebastian Ćaskawiec
-
Enum Constant Summary
Enum ConstantDescriptionGiven entity is unhealthy.The cache did not start due to a error.Given entity is healthy.Given entity is healthy but a rebalance is in progress.The given entity is still initializing. -
Method Summary
Modifier and TypeMethodDescriptionstatic HealthStatus
Returns the enum constant of this type with the specified name.static HealthStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEGRADED
Given entity is unhealthy.An unhealthy status means that a cache is in
.AvailabilityMode.DEGRADED_MODE
. Please keep in mind that in the future additional rules might be added to reflect Unhealthy status of the cache. -
HEALTHY
Given entity is healthy. -
INITIALIZING
The given entity is still initializing.This can happen when the entity does not have the time to completely initialize or when it is recovering after a cluster shutdown.
-
HEALTHY_REBALANCING
Given entity is healthy but a rebalance is in progress. -
FAILED
The cache did not start due to a error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-