Class LivenessState
- Namespace
- Steeltoe.Common.Availability
- Assembly
- Steeltoe.Common.dll
"Liveness" state of the application.
An application is considered live when it's running with a correct internal state. "Liveness" failure means that the internal state of the application is broken and we cannot recover from it. As a result, the platform should restart the application.public class LivenessState : IAvailabilityState
- Inheritance
-
LivenessState
- Implements
- Inherited Members
Fields
Broken
The application is running but its internal state is broken.
public static readonly LivenessState Broken
Field Value
Correct
The application is running and its internal state is correct.
public static readonly LivenessState Correct
Field Value
Methods
ToString()
public override string ToString()