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