Index
All Classes and Interfaces|All Packages
A
- AbstractHealthIndicator - Class in org.springframework.boot.health.contributor
-
Base
HealthIndicatorimplementations that encapsulates creation ofHealthinstance and error handling. - AbstractHealthIndicator() - Constructor for class org.springframework.boot.health.contributor.AbstractHealthIndicator
-
Create a new
AbstractHealthIndicatorinstance with a defaulthealthCheckFailedMessage. - AbstractHealthIndicator(String) - Constructor for class org.springframework.boot.health.contributor.AbstractHealthIndicator
-
Create a new
AbstractHealthIndicatorinstance with a specific message to log when the health check fails. - AbstractHealthIndicator(Function<Exception, String>) - Constructor for class org.springframework.boot.health.contributor.AbstractHealthIndicator
-
Create a new
AbstractHealthIndicatorinstance with a specific message to log when the health check fails. - AbstractReactiveHealthIndicator - Class in org.springframework.boot.health.contributor
-
Base
ReactiveHealthIndicatorimplementations that encapsulates creation ofHealthinstance and error handling. - AbstractReactiveHealthIndicator() - Constructor for class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
-
Create a new
AbstractReactiveHealthIndicatorinstance with a defaulthealthCheckFailedMessage. - AbstractReactiveHealthIndicator(String) - Constructor for class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
-
Create a new
AbstractReactiveHealthIndicatorinstance with a specific message to log when the health check fails. - AbstractReactiveHealthIndicator(Function<Throwable, String>) - Constructor for class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
-
Create a new
AbstractReactiveHealthIndicatorinstance with a specific message to log when the health check fails. - adapt(HealthContributor) - Static method in interface org.springframework.boot.health.contributor.ReactiveHealthContributor
-
Adapts the given
HealthContributorinto aReactiveHealthContributorby scheduling blocking calls toSchedulers.boundedElastic(). - adapt(HealthContributors) - Static method in interface org.springframework.boot.health.contributor.ReactiveHealthContributors
-
Adapts the given
HealthContributorsinto aReactiveHealthContributorsby scheduling blocking calls toSchedulers.boundedElastic(). - asHealthContributor() - Method in interface org.springframework.boot.health.contributor.CompositeReactiveHealthContributor
- asHealthContributor() - Method in interface org.springframework.boot.health.contributor.ReactiveHealthContributor
-
Return this reactive contributor as a standard blocking
HealthContributor. - asHealthContributor() - Method in interface org.springframework.boot.health.contributor.ReactiveHealthIndicator
- asHealthContributors() - Method in interface org.springframework.boot.health.contributor.ReactiveHealthContributors
-
Return these reactive contributors as standard blocking
HealthContributors.
B
- build() - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Create a new
Healthinstance with the previously specified code and details. - Builder() - Constructor for class org.springframework.boot.health.contributor.Health.Builder
-
Create new Builder instance.
- Builder(Status) - Constructor for class org.springframework.boot.health.contributor.Health.Builder
-
Create new Builder instance, setting status to given
status. - Builder(Status, Map<String, ?>) - Constructor for class org.springframework.boot.health.contributor.Health.Builder
-
Create new Builder instance, setting status to given
statusand details to givendetails.
C
- CompositeHealthContributor - Interface in org.springframework.boot.health.contributor
-
A
HealthContributorthat is composed of otherHealthContributorinstances. - CompositeHealthContributorConfiguration<I,
B> - Class in org.springframework.boot.health.autoconfigure.contributor -
Base class for health contributor configurations that can combine source beans into a composite.
- CompositeHealthContributorConfiguration(Function<B, I>) - Constructor for class org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration
-
Creates a
CompositeHealthContributorConfigurationthat will use the givenindicatorFactoryto createHealthIndicatorinstances. - CompositeReactiveHealthContributor - Interface in org.springframework.boot.health.contributor
-
A
ReactiveHealthContributorthat is composed of otherReactiveHealthContributorinstances. - CompositeReactiveHealthContributorConfiguration<I,
B> - Class in org.springframework.boot.health.autoconfigure.contributor -
Base class for health contributor configurations that can combine source beans into a composite.
- CompositeReactiveHealthContributorConfiguration(Function<B, I>) - Constructor for class org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration
-
Creates a
CompositeReactiveHealthContributorConfigurationthat will use the givenindicatorFactoryto createReactiveHealthIndicatorinstances. - ConditionalOnEnabledHealthIndicator - Annotation Interface in org.springframework.boot.health.autoconfigure.contributor
-
@Conditionalthat checks whether a default health indicator is enabled. - contributor() - Method in record class org.springframework.boot.health.contributor.HealthContributors.Entry
-
Returns the value of the
contributorrecord component. - contributor() - Method in record class org.springframework.boot.health.contributor.ReactiveHealthContributors.Entry
-
Returns the value of the
contributorrecord component. - createComposite(Map<String, B>) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration
- createComposite(Map<String, B>) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration
- createContributor(Map<String, B>) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration
- createContributor(Map<String, B>) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration
- createContributor(ConfigurableListableBeanFactory, Class<B>) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration
-
Creates a composite contributor from the beans of the given
beanTyperetrieved from the givenbeanFactory. - createContributor(ConfigurableListableBeanFactory, Class<B>) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration
-
Creates a composite contributor from the beans of the given
beanTyperetrieved from the givenbeanFactory. - createIndicator(B) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeHealthContributorConfiguration
- createIndicator(B) - Method in class org.springframework.boot.health.autoconfigure.contributor.CompositeReactiveHealthContributorConfiguration
D
- DefaultHealthContributorRegistry - Class in org.springframework.boot.health.registry
-
Default
HealthContributorRegistryimplementation. - DefaultHealthContributorRegistry() - Constructor for class org.springframework.boot.health.registry.DefaultHealthContributorRegistry
-
Create a new empty
DefaultHealthContributorRegistryinstance. - DefaultHealthContributorRegistry(Collection<? extends HealthContributorNameValidator>, Consumer<BiConsumer<String, HealthContributor>>) - Constructor for class org.springframework.boot.health.registry.DefaultHealthContributorRegistry
-
Create a new
DefaultHealthContributorRegistryinstance. - DefaultReactiveHealthContributorRegistry - Class in org.springframework.boot.health.registry
-
Default
ReactiveHealthContributorRegistryimplementation. - DefaultReactiveHealthContributorRegistry() - Constructor for class org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
-
Create a new empty
DefaultReactiveHealthContributorRegistryinstance. - DefaultReactiveHealthContributorRegistry(Collection<? extends HealthContributorNameValidator>, Consumer<BiConsumer<String, ReactiveHealthContributor>>) - Constructor for class org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
-
Create a new
DefaultReactiveHealthContributorRegistryinstance. - doHealthCheck(Health.Builder) - Method in class org.springframework.boot.health.contributor.AbstractHealthIndicator
-
Actual health check logic.
- doHealthCheck(Health.Builder) - Method in class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
-
Actual health check logic.
- doHealthCheck(Health.Builder) - Method in class org.springframework.boot.health.contributor.PingHealthIndicator
- down() - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Set status to
DOWN. - down() - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with aDOWNstatus. - down(Throwable) - Method in class org.springframework.boot.health.contributor.Health.Builder
- down(Throwable) - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with anDOWNstatus and the specified exception details. - DOWN - Static variable in class org.springframework.boot.health.contributor.Status
-
Statusindicating that the component or subsystem has suffered an unexpected failure.
E
- Entry(String, HealthContributor) - Constructor for record class org.springframework.boot.health.contributor.HealthContributors.Entry
-
Creates an instance of a
Entryrecord class. - Entry(String, ReactiveHealthContributor) - Constructor for record class org.springframework.boot.health.contributor.ReactiveHealthContributors.Entry
-
Creates an instance of a
Entryrecord class. - equals(Object) - Method in class org.springframework.boot.health.contributor.Health
- equals(Object) - Method in record class org.springframework.boot.health.contributor.HealthContributors.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class org.springframework.boot.health.contributor.ReactiveHealthContributors.Entry
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class org.springframework.boot.health.contributor.Status
F
- fromMap(Map<String, ? extends HealthContributor>) - Static method in interface org.springframework.boot.health.contributor.CompositeHealthContributor
-
Factory method that will create a
CompositeHealthContributorfrom the specified map. - fromMap(Map<String, ? extends ReactiveHealthContributor>) - Static method in interface org.springframework.boot.health.contributor.CompositeReactiveHealthContributor
-
Factory method that will create a
CompositeReactiveHealthContributorfrom the specified map. - fromMap(Map<String, V>, Function<V, ? extends HealthContributor>) - Static method in interface org.springframework.boot.health.contributor.CompositeHealthContributor
-
Factory method that will create a
CompositeHealthContributorfrom the specified map. - fromMap(Map<String, V>, Function<V, ? extends ReactiveHealthContributor>) - Static method in interface org.springframework.boot.health.contributor.CompositeReactiveHealthContributor
-
Factory method that will create a
CompositeReactiveHealthContributorfrom the specified map.
G
- generateContributorName(String) - Method in interface org.springframework.boot.health.autoconfigure.registry.HealthContributorNameGenerator
-
Generate the health contributor name for the given bean name.
- getCode() - Method in class org.springframework.boot.health.contributor.Status
-
Return the code for this status.
- getContributor(String) - Method in interface org.springframework.boot.health.contributor.HealthContributors
-
Return the contributor with the given name.
- getContributor(String) - Method in interface org.springframework.boot.health.contributor.ReactiveHealthContributors
-
Return the contributor with the given name.
- getContributor(String) - Method in class org.springframework.boot.health.registry.DefaultHealthContributorRegistry
- getContributor(String) - Method in class org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
- getDescription() - Method in class org.springframework.boot.health.contributor.Status
-
Return the description of this status.
- getDetails() - Method in class org.springframework.boot.health.contributor.Health
-
Return the details of the health.
- getStatus() - Method in class org.springframework.boot.health.contributor.Health
-
Return the status of the health.
H
- hashCode() - Method in class org.springframework.boot.health.contributor.Health
- hashCode() - Method in record class org.springframework.boot.health.contributor.HealthContributors.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in record class org.springframework.boot.health.contributor.ReactiveHealthContributors.Entry
-
Returns a hash code value for this object.
- hashCode() - Method in class org.springframework.boot.health.contributor.Status
- health() - Method in class org.springframework.boot.health.contributor.AbstractHealthIndicator
- health() - Method in class org.springframework.boot.health.contributor.AbstractReactiveHealthIndicator
- health() - Method in interface org.springframework.boot.health.contributor.HealthIndicator
-
Return an indication of health.
- health() - Method in interface org.springframework.boot.health.contributor.ReactiveHealthIndicator
-
Provide the indicator of health.
- health(boolean) - Method in interface org.springframework.boot.health.contributor.HealthIndicator
-
Return an indication of health.
- health(boolean) - Method in interface org.springframework.boot.health.contributor.ReactiveHealthIndicator
-
Provide the indicator of health.
- Health - Class in org.springframework.boot.health.contributor
-
The health of a component or subsystem in including its
Statusas well as any additional contextual details. - Health.Builder - Class in org.springframework.boot.health.contributor
-
Builder for creating immutable
Healthinstances. - HealthContributor - Interface in org.springframework.boot.health.contributor
-
Contributes health information, either directly (
HealthIndicator) or via other contributors (CompositeHealthContributor). - HealthContributorAutoConfiguration - Class in org.springframework.boot.health.autoconfigure.contributor
-
Auto-configurationfor defaulthealth contributors. - HealthContributorAutoConfiguration() - Constructor for class org.springframework.boot.health.autoconfigure.contributor.HealthContributorAutoConfiguration
- HealthContributorNameGenerator - Interface in org.springframework.boot.health.autoconfigure.registry
-
Strategy used to create health contributor names from bean names.
- HealthContributorNameValidator - Interface in org.springframework.boot.health.registry
-
Interface that can be used to validate names before they are added to a health contributor registry.
- HealthContributorRegistry - Interface in org.springframework.boot.health.registry
-
A mutable registry of
health contributors. - HealthContributorRegistryAutoConfiguration - Class in org.springframework.boot.health.autoconfigure.registry
- HealthContributors - Interface in org.springframework.boot.health.contributor
-
A collection of named
health contributors. - HealthContributors.Entry - Record Class in org.springframework.boot.health.contributor
-
A health contributor entry.
- HealthIndicator - Interface in org.springframework.boot.health.contributor
-
Directly contributes
Healthinformation for specific component or subsystem.
I
- iterator() - Method in interface org.springframework.boot.health.contributor.HealthContributors
- iterator() - Method in interface org.springframework.boot.health.contributor.ReactiveHealthContributors
N
- name() - Method in record class org.springframework.boot.health.contributor.HealthContributors.Entry
-
Returns the value of the
namerecord component. - name() - Method in record class org.springframework.boot.health.contributor.ReactiveHealthContributors.Entry
-
Returns the value of the
namerecord component.
O
- of(HealthContributors...) - Static method in interface org.springframework.boot.health.contributor.HealthContributors
-
Factory method to create a new
HealthContributorsinstance composed of the given contributors. - of(ReactiveHealthContributors...) - Static method in interface org.springframework.boot.health.contributor.ReactiveHealthContributors
-
Factory method to create a new
ReactiveHealthContributorsinstance composed of the given contributors. - org.springframework.boot.health.autoconfigure.contributor - package org.springframework.boot.health.autoconfigure.contributor
-
Auto-configuration for health contributors.
- org.springframework.boot.health.autoconfigure.registry - package org.springframework.boot.health.autoconfigure.registry
-
Auto-configuration for health registries.
- org.springframework.boot.health.contributor - package org.springframework.boot.health.contributor
-
Classes related to contributing health information about an application.
- org.springframework.boot.health.registry - package org.springframework.boot.health.registry
-
Health registry support.
- OUT_OF_SERVICE - Static variable in class org.springframework.boot.health.contributor.Status
-
Statusindicating that the component or subsystem has been taken out of service and should not be used. - outOfService() - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Set status to
OUT_OF_SERVICE. - outOfService() - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with anOUT_OF_SERVICEstatus.
P
- PingHealthIndicator - Class in org.springframework.boot.health.contributor
-
Auto-configured
HealthIndicatorthat always returnsUP. - PingHealthIndicator() - Constructor for class org.springframework.boot.health.contributor.PingHealthIndicator
R
- ReactiveHealthContributor - Interface in org.springframework.boot.health.contributor
-
Contributes health information, either directly (
ReactiveHealthIndicator) or via other contributors (CompositeReactiveHealthContributor). - ReactiveHealthContributorRegistry - Interface in org.springframework.boot.health.registry
-
A mutable registry of
reactive health contributors. - ReactiveHealthContributors - Interface in org.springframework.boot.health.contributor
-
A collection of named
reactive health contributors. - ReactiveHealthContributors.Entry - Record Class in org.springframework.boot.health.contributor
-
A reactive health contributor entry.
- ReactiveHealthIndicator - Interface in org.springframework.boot.health.contributor
-
Directly contributes
Healthinformation for specific reactive component or subsystem. - registerContributor(String, HealthContributor) - Method in class org.springframework.boot.health.registry.DefaultHealthContributorRegistry
- registerContributor(String, HealthContributor) - Method in interface org.springframework.boot.health.registry.HealthContributorRegistry
-
Register a contributor with the given
name. - registerContributor(String, ReactiveHealthContributor) - Method in class org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
- registerContributor(String, ReactiveHealthContributor) - Method in interface org.springframework.boot.health.registry.ReactiveHealthContributorRegistry
-
Register a contributor with the given
name. - registrar(Map<String, C>) - Method in interface org.springframework.boot.health.autoconfigure.registry.HealthContributorNameGenerator
-
Return a registrar that can be used to register the given contributor beans with a generated name.
S
- status(String) - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Set status to given
statusCode. - status(String) - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with a specific status code. - status(Status) - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Set status to given
Statusinstance. - status(Status) - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with a specificStatus. - Status - Class in org.springframework.boot.health.contributor
-
Value object to express state of a component or subsystem.
- Status(String) - Constructor for class org.springframework.boot.health.contributor.Status
-
Create a new
Statusinstance with the given code and an empty description. - Status(String, String) - Constructor for class org.springframework.boot.health.contributor.Status
-
Create a new
Statusinstance with the given code and description. - stream() - Method in interface org.springframework.boot.health.contributor.HealthContributors
-
Return a stream of the contributor entries.
- stream() - Method in interface org.springframework.boot.health.contributor.ReactiveHealthContributors
-
Return a stream of the contributor entries.
- stream() - Method in class org.springframework.boot.health.registry.DefaultHealthContributorRegistry
- stream() - Method in class org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
T
- toString() - Method in class org.springframework.boot.health.contributor.Health
- toString() - Method in record class org.springframework.boot.health.contributor.HealthContributors.Entry
-
Returns a string representation of this record class.
- toString() - Method in record class org.springframework.boot.health.contributor.ReactiveHealthContributors.Entry
-
Returns a string representation of this record class.
- toString() - Method in class org.springframework.boot.health.contributor.Status
U
- unchanged() - Static method in interface org.springframework.boot.health.autoconfigure.registry.HealthContributorNameGenerator
-
Return a
HealthContributorNameGeneratorthat uses the unchanged bean name as the health contributor name. - unknown() - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Set status to
UNKNOWNstatus. - unknown() - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with anUNKNOWNstatus. - UNKNOWN - Static variable in class org.springframework.boot.health.contributor.Status
-
Statusindicating that the component or subsystem is in an unknown state. - unregisterContributor(String) - Method in class org.springframework.boot.health.registry.DefaultHealthContributorRegistry
- unregisterContributor(String) - Method in class org.springframework.boot.health.registry.DefaultReactiveHealthContributorRegistry
- unregisterContributor(String) - Method in interface org.springframework.boot.health.registry.HealthContributorRegistry
-
Unregister a previously registered contributor.
- unregisterContributor(String) - Method in interface org.springframework.boot.health.registry.ReactiveHealthContributorRegistry
-
Unregister a previously registered contributor.
- up() - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Set status to
UPstatus. - up() - Static method in class org.springframework.boot.health.contributor.Health
-
Create a new
Health.Builderinstance with anUPstatus. - UP - Static variable in class org.springframework.boot.health.contributor.Status
-
Statusindicating that the component or subsystem is functioning as expected.
V
- validate(String) - Method in interface org.springframework.boot.health.registry.HealthContributorNameValidator
-
Validate the contributor name.
- value() - Element in annotation interface org.springframework.boot.health.autoconfigure.contributor.ConditionalOnEnabledHealthIndicator
-
The name of the health indicator.
W
- withDetail(String, Object) - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Record detail using given
keyandvalue. - withDetails(Map<String, ?>) - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Record details from the given
detailsmap. - withException(Throwable) - Method in class org.springframework.boot.health.contributor.Health.Builder
-
Record detail for given
Exception. - withoutStandardSuffixes() - Static method in interface org.springframework.boot.health.autoconfigure.registry.HealthContributorNameGenerator
-
Return a
HealthContributorNameGeneratorthat removes standard suffixes. - withoutSuffixes(String...) - Static method in interface org.springframework.boot.health.autoconfigure.registry.HealthContributorNameGenerator
-
Return a
HealthContributorNameGeneratorthat removes the given suffixes.
All Classes and Interfaces|All Packages