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
  • Constructor Details

  • Method Details

    • stream

      public Stream<org.springframework.boot.health.contributor.HealthContributors.Entry> stream()
      Specified by:
      stream in interface org.springframework.boot.health.contributor.HealthContributors
    • getContributor

      public org.springframework.boot.health.contributor.HealthContributor getContributor(String name)
      Specified by:
      getContributor in interface org.springframework.boot.health.contributor.HealthContributors
    • getIndicators

      public Map<String, DiscoveryHealthIndicator> getIndicators()