Class ReadinessState
- Namespace
- Steeltoe.Common.Availability
- Assembly
- Steeltoe.Common.dll
The Readiness state of the application.
An application is considered ready when it's Correct and willing to accept traffic. "Readiness" failure means that the application is not able to accept traffic and that the infrastructure should not route requests to it.public class ReadinessState : IAvailabilityState
- Inheritance
-
ReadinessState
- Implements
- Inherited Members
Fields
AcceptingTraffic
The application is ready to receive traffic.
public static readonly ReadinessState AcceptingTraffic
Field Value
RefusingTraffic
The application is not willing to receive traffic.
public static readonly ReadinessState RefusingTraffic
Field Value
Methods
ToString()
public override string ToString()