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
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.boot.actuate.health.HealthContributor
getContributor
(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, wait
Methods inherited from interface java.lang.Iterable
forEach, spliterator
Methods inherited from interface org.springframework.boot.actuate.health.NamedContributors
stream
-
Constructor Details
-
DiscoveryCompositeHealthContributor
-
-
Method Details
-
getContributor
- Specified by:
getContributor
in 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
-