ApplicationAvailabilityBean class
The ApplicationAvailability bean: it listens to every AvailabilityChangeEvent and keeps the last one of each kind of state.
spring_boot_dart declares it as the applicationAvailability bean
unless the application has its own ApplicationAvailability.
Spring Boot (Java): ApplicationAvailabilityBean, declared by
ApplicationAvailabilityAutoConfiguration.
- Implemented types
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- livenessState → LivenessState
-
The last LivenessState published; LivenessState.broken before the
first.
no setteroverride
- readinessState → ReadinessState
-
The last ReadinessState published;
ReadinessState.refusingTraffic before the first.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getLastChangeEvent<
S extends AvailabilityState> () → AvailabilityChangeEvent< S> ? -
The last event of a state of type
S, ornullwhen none was published.override -
getState<
S extends AvailabilityState> (S defaultState) → S -
The last state of type
Spublished, ordefaultStatewhen none was.override -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onApplicationEvent(
Object event) → void -
Handles an
eventthat supportsEvent accepted.override -
supportsEvent(
Object event) → bool -
Whether
eventshould be passed to onApplicationEvent; asked for every published event. A published object that is not anApplicationEventarrives here as itsPayloadApplicationEvent.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited