Package | Description |
---|---|
org.springframework.boot.actuate.availability |
Actuator support for application availability concerns.
|
org.springframework.boot.availability |
Support for describing the availability of Spring Boot applications.
|
Modifier and Type | Interface and Description |
---|---|
static interface |
AvailabilityStateHealthIndicator.StatusMappings<S extends AvailabilityState>
Callback used to add status mappings.
|
Modifier and Type | Method and Description |
---|---|
protected AvailabilityState |
ReadinessStateHealthIndicator.getState(ApplicationAvailability applicationAvailability) |
protected AvailabilityState |
LivenessStateHealthIndicator.getState(ApplicationAvailability applicationAvailability) |
protected AvailabilityState |
AvailabilityStateHealthIndicator.getState(ApplicationAvailability applicationAvailability)
Return the current availability state.
|
Modifier and Type | Class and Description |
---|---|
class |
AvailabilityChangeEvent<S extends AvailabilityState>
ApplicationEvent sent when the AvailabilityState of the application
changes. |
Modifier and Type | Class and Description |
---|---|
class |
LivenessState
"Liveness" state of the application.
|
class |
ReadinessState
"Readiness" state of the application.
|
Modifier and Type | Method and Description |
---|---|
<S extends AvailabilityState> |
ApplicationAvailability.getLastChangeEvent(Class<S> stateType)
Return the last
AvailabilityChangeEvent received for a given state type. |
<S extends AvailabilityState> |
ApplicationAvailabilityBean.getLastChangeEvent(Class<S> stateType) |
<S extends AvailabilityState> |
ApplicationAvailability.getState(Class<S> stateType)
Return
AvailabilityState information for the application. |
<S extends AvailabilityState> |
ApplicationAvailabilityBean.getState(Class<S> stateType) |
<S extends AvailabilityState> |
ApplicationAvailability.getState(Class<S> stateType,
S defaultState)
Return
AvailabilityState information for the application. |
<S extends AvailabilityState> |
ApplicationAvailabilityBean.getState(Class<S> stateType,
S defaultState) |
static <S extends AvailabilityState> |
AvailabilityChangeEvent.publish(ApplicationContext context,
S state)
Convenience method that can be used to publish an
AvailabilityChangeEvent
to the given application context. |
static <S extends AvailabilityState> |
AvailabilityChangeEvent.publish(ApplicationEventPublisher publisher,
Object source,
S state)
Convenience method that can be used to publish an
AvailabilityChangeEvent
to the given application context. |