public enum ReadinessState extends Enum<ReadinessState> implements AvailabilityState
An application is considered ready when it's
live and willing to
accept traffic. "Readiness" failure means that the application is not able to accept
traffic and that the infrastructure should stop routing requests to it.
|Enum Constant and Description|
The application is ready to receive traffic.
The application is not willing to receive traffic.
|Modifier and Type||Method and Description|
Returns the enum constant of this type with the specified name.
Returns an array containing the constants of this enum type, in the order they are declared.
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
public static final ReadinessState ACCEPTING_TRAFFIC
public static final ReadinessState REFUSING_TRAFFIC
public static ReadinessState values()
for (ReadinessState c : ReadinessState.values()) System.out.println(c);
public static ReadinessState valueOf(String name)