RpcHealthLevel enum
Health level of an RPC component.
Listed in ascending severity for easy comparison.
- Inheritance
- Available extensions
Values
- healthy → const RpcHealthLevel
-
Component is fully operational.
- reconnecting → const RpcHealthLevel
-
Component is reconnecting or waiting for external resources; temporarily unavailable, but recovery is in progress.
- degraded → const RpcHealthLevel
-
Component is operating with limitations (e.g., degraded transport or reduced capabilities).
- unhealthy → const RpcHealthLevel
-
Component is unavailable due to an error.
- closed → const RpcHealthLevel
-
Component has been closed and cannot be used.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- severity → int
-
Available on RpcHealthLevel, provided by the RpcHealthLevelSeverity extension
Integer severity score; higher means worse state.no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
RpcHealthLevel> - A constant List of the values in this enum, in order of their declaration.