nhsServiceState enum
Node Health Status (NHS) Description One snapshot of the health of a running node: a data-network peer, a ground-station computer, a flight computer or any service host. It reports how long the service has been running and in what state, how much storage it holds and has left, how busy its network interfaces are, and (when the host measures them) its processor and memory load, with a recent history of network throughput for trend displays.
NHS is the node's view of itself. The peers a node knows about are $NST; the records and ingest lanes a node holds are $NDS. A value the node did not measure is reported as not measured (HAS_* false, or 0 where the field says so), never as a confident zero. Service lifecycle state. Append new values only; never reorder or reuse existing values.
Values
- Unknown → const nhsServiceState
-
const nhsServiceState(0) - Starting → const nhsServiceState
-
const nhsServiceState(1) - Running → const nhsServiceState
-
const nhsServiceState(2) - Degraded → const nhsServiceState
-
const nhsServiceState(3) - Draining → const nhsServiceState
-
const nhsServiceState(4) - Stopped → const nhsServiceState
-
const nhsServiceState(5) - Failed → const nhsServiceState
-
const nhsServiceState(6)
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
- value → int
-
final
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
- maxValue → const int
- minValue → const int
-
reader
→ const Reader<
nhsServiceState> -
values
→ const List<
nhsServiceState> - A constant List of the values in this enum, in order of their declaration.