Uses of Interface
org.springframework.boot.availability.AvailabilityState
Package
Description
Actuator support for application availability concerns.
Support for describing the availability of Spring Boot applications.
-
Uses of AvailabilityState in org.springframework.boot.actuate.availability
Modifier and TypeInterfaceDescriptionstatic interface
Callback used to add status mappings.Modifier and TypeMethodDescriptionprotected AvailabilityState
AvailabilityStateHealthIndicator.getState
(ApplicationAvailability applicationAvailability) Return the current availability state.protected AvailabilityState
LivenessStateHealthIndicator.getState
(ApplicationAvailability applicationAvailability) protected AvailabilityState
ReadinessStateHealthIndicator.getState
(ApplicationAvailability applicationAvailability) -
Uses of AvailabilityState in org.springframework.boot.availability
Modifier and TypeClassDescriptionclass
AvailabilityChangeEvent<S extends AvailabilityState>
ApplicationEvent
sent when theAvailabilityState
of the application changes.Modifier and TypeClassDescriptionenum
"Liveness" state of the application.enum
"Readiness" state of the application.Modifier and TypeMethodDescription<S extends AvailabilityState>
AvailabilityChangeEvent<S>ApplicationAvailability.getLastChangeEvent
(Class<S> stateType) Return the lastAvailabilityChangeEvent
received for a given state type.<S extends AvailabilityState>
AvailabilityChangeEvent<S>ApplicationAvailabilityBean.getLastChangeEvent
(Class<S> stateType) <S extends AvailabilityState>
SReturnAvailabilityState
information for the application.<S extends AvailabilityState>
SReturnAvailabilityState
information for the application.<S extends AvailabilityState>
S<S extends AvailabilityState>
Sstatic <S extends AvailabilityState>
voidAvailabilityChangeEvent.publish
(ApplicationContext context, S state) Convenience method that can be used to publish anAvailabilityChangeEvent
to the given application context.static <S extends AvailabilityState>
voidAvailabilityChangeEvent.publish
(ApplicationEventPublisher publisher, Object source, S state) Convenience method that can be used to publish anAvailabilityChangeEvent
to the given application context.