Class DiscoveryCompositeHealthContributor
java.lang.Object
org.springframework.cloud.client.discovery.health.DiscoveryCompositeHealthContributor
- All Implemented Interfaces:
Iterable<org.springframework.boot.health.contributor.HealthContributors.Entry>, org.springframework.boot.health.contributor.CompositeHealthContributor, org.springframework.boot.health.contributor.HealthContributor, org.springframework.boot.health.contributor.HealthContributors
public class DiscoveryCompositeHealthContributor
extends Object
implements org.springframework.boot.health.contributor.CompositeHealthContributor
Adapter that converts a collection of
DiscoveryHealthIndicator beans into a
CompositeHealthContributor.- Since:
- 2.2.0
- Author:
- Phillip Webb
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.springframework.boot.health.contributor.HealthContributors
org.springframework.boot.health.contributor.HealthContributors.Entry -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.health.contributor.HealthContributorgetContributor(String name) Stream<org.springframework.boot.health.contributor.HealthContributors.Entry> stream()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.boot.health.contributor.HealthContributors
iteratorMethods inherited from interface Iterable
forEach, spliterator
-
Constructor Details
-
DiscoveryCompositeHealthContributor
-
-
Method Details
-
stream
- Specified by:
streamin interfaceorg.springframework.boot.health.contributor.HealthContributors
-
getContributor
- Specified by:
getContributorin interfaceorg.springframework.boot.health.contributor.HealthContributors
-
getIndicators
-