LivenessState

"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.

Author

Brian Clozel

Since

2.3.0

Entries

Link copied to clipboard

The application is running and its internal state is correct.

Link copied to clipboard

The application is running but its internal state is broken.

Functions

Link copied to clipboard
open fun valueOf(name: String): LivenessState

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.