Package | Description |
---|---|
org.springframework.boot.availability |
Support for describing the availability of Spring Boot applications.
|
Modifier and Type | Method and Description |
---|---|
LivenessState |
ApplicationAvailabilityProvider.getLivenessState()
Return the
LivenessState of the application. |
LivenessState |
LivenessStateChangedEvent.getLivenessState() |
static LivenessState |
LivenessState.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LivenessState[] |
LivenessState.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
ApplicationAvailabilityProvider(LivenessState livenessState,
ReadinessState readinessState)
Create a new
ApplicationAvailabilityProvider with the given states. |